{"maintainers":[{"name":"dankogai","email":"dankogai+github@gmail.com"}],"keywords":["base64"],"dist-tags":{"latest":"2.1.9"},"author":{"name":"Dan Kogai"},"description":"Yet another Base64 transcoder in pure-JS","readme":"[![build status](https://secure.travis-ci.org/dankogai/js-base64.png)](http://travis-ci.org/dankogai/js-base64)\n\n# base64.js\n\nYet another Base64 transcoder\n\n## Usage\n\n### In Browser\n````html\n<script src=\"base64.js\"></script>\n````\n### node.js\n````javascript\nvar Base64 = require('./base64.js').Base64;\n````\n\n\n## SYNOPSIS\n\n````javascript\nBase64.encode('dankogai');  // ZGFua29nYWk=\nBase64.encode('小飼弾');    // 5bCP6aO85by+\nBase64.encodeURI('小飼弾'); // 5bCP6aO85by-\n\nBase64.decode('ZGFua29nYWk=');  // dankogai\nBase64.decode('5bCP6aO85by+');  // 小飼弾\n// note .decodeURI() is unnecessary since it accepts both flavors\nBase64.decode('5bCP6aO85by-');  // 小飼弾\n````\n\n### String Extension for ES5\n\n````javascript\nif (Base64.extendString) {\n    // you have to explicitly extend String.prototype\n    Base64.extendString();\n    // once extended, you can do the following\n    'dankogai'.toBase64();       // ZGFua29nYWk=\n    '小飼弾'.toBase64();         // 5bCP6aO85by+\n    '小飼弾'.toBase64(true);     // 5bCP6aO85by-\n    '小飼弾'.toBase64URI();      // 5bCP6aO85by-\n    'ZGFua29nYWk='.fromBase64(); // dankogai\n    '5bCP6aO85by+'.fromBase64(); // 小飼弾\n    '5bCP6aO85by-'.fromBase64(); // 小飼弾\n}\n````\n\n## SEE ALSO\n\n+ http://en.wikipedia.org/wiki/Base64\n","repository":{"type":"git","url":"git://github.com/dankogai/js-base64.git"},"users":{"nycdotnet":true,"lifecube":true,"modao":true,"subchen":true,"plusman":true,"luobotang":true,"makay":true,"tobiasnickel":true,"wzbg":true,"s950329":true,"enuobear":true,"nickeltobias":true,"lossless":true,"heineiuo":true,"mbaer":true,"cfleschhut":true,"haihepeng":true,"gigakiller":true,"shuoshubao":true,"xiaochao":true,"shanewholloway":true,"panlw":true,"dillonace":true,"morogasper":true,"sunruyu":true,"timmimim":true,"hiztmine":true,"vivek.vikhere":true,"zhnoah":true,"shangsinian":true},"bugs":{"url":"https://github.com/dankogai/js-base64/issues"},"license":"BSD","versions":{"2.0.6":{"name":"js-base64","version":"2.0.6","description":"Yet another Base64 transcoder in pure-JS","main":"base64.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"repository":{"type":"git","url":"git://github.com/dankogai/js-base64.git"},"keywords":["base64"],"author":{"name":"Dan Kogai"},"license":"BSD","gitHead":"8bfa436f733bec60c95c720e1d720c28b43ae0b2","_id":"js-base64@2.0.6","dist":{"shasum":"386828c3b350ac08c337de3f7e6bc5768fff04f9","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/js-base64/-/js-base64-2.0.6.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"dankogai","email":"dankogai+github@gmail.com"},"maintainers":[{"name":"dankogai","email":"dankogai+github@gmail.com"}]},"2.0.7":{"name":"js-base64","version":"2.0.7","description":"Yet another Base64 transcoder in pure-JS","main":"base64.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"repository":{"type":"git","url":"git://github.com/dankogai/js-base64.git"},"keywords":["base64"],"author":{"name":"Dan Kogai"},"license":"BSD","gitHead":"8bfa436f733bec60c95c720e1d720c28b43ae0b2","_id":"js-base64@2.0.7","dist":{"shasum":"43f72869262778a64dd055640c9c1d421c90a6f9","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/js-base64/-/js-base64-2.0.7.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"dankogai","email":"dankogai+github@gmail.com"},"maintainers":[{"name":"dankogai","email":"dankogai+github@gmail.com"}]},"2.1.0":{"name":"js-base64","version":"2.1.0","description":"Yet another Base64 transcoder in pure-JS","main":"base64.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"repository":{"type":"git","url":"git://github.com/dankogai/js-base64.git"},"keywords":["base64"],"author":{"name":"Dan Kogai"},"license":"BSD","gitHead":"8bfa436f733bec60c95c720e1d720c28b43ae0b2","_id":"js-base64@2.1.0","dist":{"shasum":"3bcc4650effb446666f537421316531b1e74aab6","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/js-base64/-/js-base64-2.1.0.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"dankogai","email":"dankogai+github@gmail.com"},"maintainers":[{"name":"dankogai","email":"dankogai+github@gmail.com"}]},"2.1.1":{"name":"js-base64","version":"2.1.1","description":"Yet another Base64 transcoder in pure-JS","main":"base64.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"repository":{"type":"git","url":"git://github.com/dankogai/js-base64.git"},"keywords":["base64"],"author":{"name":"Dan Kogai"},"license":"BSD","gitHead":"8bfa436f733bec60c95c720e1d720c28b43ae0b2","_id":"js-base64@2.1.1","dist":{"shasum":"7946bbf1549c134c4a53cc8375916cf9f4a2861c","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/js-base64/-/js-base64-2.1.1.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"dankogai","email":"dankogai+github@gmail.com"},"maintainers":[{"name":"dankogai","email":"dankogai+github@gmail.com"}]},"2.1.2":{"name":"js-base64","version":"2.1.2","description":"Yet another Base64 transcoder in pure-JS","main":"base64.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"repository":{"type":"git","url":"git://github.com/dankogai/js-base64.git"},"keywords":["base64"],"author":{"name":"Dan Kogai"},"license":"BSD","gitHead":"8bfa436f733bec60c95c720e1d720c28b43ae0b2","_id":"js-base64@2.1.2","dist":{"shasum":"b65abf9fa3408b07e6f71668d892a9a75d0efffe","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/js-base64/-/js-base64-2.1.2.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"dankogai","email":"dankogai+github@gmail.com"},"maintainers":[{"name":"dankogai","email":"dankogai+github@gmail.com"}]},"2.1.5":{"name":"js-base64","version":"2.1.5","description":"Yet another Base64 transcoder in pure-JS","main":"base64.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"repository":{"type":"git","url":"git://github.com/dankogai/js-base64.git"},"keywords":["base64"],"author":{"name":"Dan Kogai"},"license":"BSD","gitHead":"8bfa436f733bec60c95c720e1d720c28b43ae0b2","bugs":{"url":"https://github.com/dankogai/js-base64/issues"},"homepage":"https://github.com/dankogai/js-base64","_id":"js-base64@2.1.5","dist":{"shasum":"32355469fa8f91a4b2d2d845e48fd169ad40af26","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/js-base64/-/js-base64-2.1.5.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"dankogai","email":"dankogai+github@gmail.com"},"maintainers":[{"name":"dankogai","email":"dankogai+github@gmail.com"}]},"2.1.6":{"name":"js-base64","version":"2.1.6","description":"Yet another Base64 transcoder in pure-JS","main":"base64.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"repository":{"type":"git","url":"git://github.com/dankogai/js-base64.git"},"keywords":["base64"],"author":{"name":"Dan Kogai"},"license":"BSD","gitHead":"8bfa436f733bec60c95c720e1d720c28b43ae0b2","bugs":{"url":"https://github.com/dankogai/js-base64/issues"},"homepage":"https://github.com/dankogai/js-base64","_id":"js-base64@2.1.6","_shasum":"3e902112b506454f46f13c1a28bb4a4f700b8d84","_from":".","_npmVersion":"2.1.17","_nodeVersion":"0.10.35","_npmUser":{"name":"dankogai","email":"dankogai+github@gmail.com"},"maintainers":[{"name":"dankogai","email":"dankogai+github@gmail.com"}],"dist":{"shasum":"3e902112b506454f46f13c1a28bb4a4f700b8d84","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/js-base64/-/js-base64-2.1.6.tgz"}},"2.1.7":{"name":"js-base64","version":"2.1.7","description":"Yet another Base64 transcoder in pure-JS","main":"base64.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"repository":{"type":"git","url":"git://github.com/dankogai/js-base64.git"},"keywords":["base64"],"author":{"name":"Dan Kogai"},"license":"BSD","gitHead":"8bfa436f733bec60c95c720e1d720c28b43ae0b2","bugs":{"url":"https://github.com/dankogai/js-base64/issues"},"homepage":"https://github.com/dankogai/js-base64","_id":"js-base64@2.1.7","_shasum":"aa9c941ceff1567ea9ed8bea8319191f3541e4e8","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"dankogai","email":"dankogai+github@gmail.com"},"maintainers":[{"name":"dankogai","email":"dankogai+github@gmail.com"}],"dist":{"shasum":"aa9c941ceff1567ea9ed8bea8319191f3541e4e8","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/js-base64/-/js-base64-2.1.7.tgz"}},"2.1.8":{"name":"js-base64","version":"2.1.8","description":"Yet another Base64 transcoder in pure-JS","main":"base64.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"repository":{"type":"git","url":"git://github.com/dankogai/js-base64.git"},"keywords":["base64"],"author":{"name":"Dan Kogai"},"license":"BSD","gitHead":"8bfa436f733bec60c95c720e1d720c28b43ae0b2","bugs":{"url":"https://github.com/dankogai/js-base64/issues"},"homepage":"https://github.com/dankogai/js-base64","_id":"js-base64@2.1.8","_shasum":"4214992397ef797e892dae305383a1d8094d5616","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"dankogai","email":"dankogai+github@gmail.com"},"maintainers":[{"name":"dankogai","email":"dankogai+github@gmail.com"}],"dist":{"shasum":"4214992397ef797e892dae305383a1d8094d5616","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/js-base64/-/js-base64-2.1.8.tgz"}},"2.1.9":{"name":"js-base64","version":"2.1.9","description":"Yet another Base64 transcoder in pure-JS","main":"base64.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"repository":{"type":"git","url":"git://github.com/dankogai/js-base64.git"},"keywords":["base64"],"author":{"name":"Dan Kogai"},"license":"BSD","gitHead":"8bfa436f733bec60c95c720e1d720c28b43ae0b2","bugs":{"url":"https://github.com/dankogai/js-base64/issues"},"homepage":"https://github.com/dankogai/js-base64#readme","_id":"js-base64@2.1.9","_shasum":"f0e80ae039a4bd654b5f281fc93f04a914a7fcce","_from":".","_npmVersion":"2.13.0","_nodeVersion":"0.12.7","_npmUser":{"name":"dankogai","email":"dankogai+github@gmail.com"},"maintainers":[{"name":"dankogai","email":"dankogai+github@gmail.com"}],"dist":{"shasum":"f0e80ae039a4bd654b5f281fc93f04a914a7fcce","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/js-base64/-/js-base64-2.1.9.tgz"}}},"name":"js-base64","time":{"modified":"2017-08-08T12:22:50.981Z","created":"2013-04-06T15:06:08.193Z","2.0.6":"2013-04-06T15:06:11.160Z","2.0.7":"2013-04-06T15:39:04.519Z","2.1.0":"2013-04-08T09:38:42.400Z","2.1.1":"2013-04-08T13:08:27.446Z","2.1.2":"2013-05-06T07:58:55.860Z","2.1.5":"2014-04-05T13:23:38.538Z","2.1.6":"2015-01-07T00:24:33.255Z","2.1.7":"2015-01-12T06:04:16.078Z","2.1.8":"2015-04-10T06:26:57.570Z","2.1.9":"2015-07-31T02:12:04.258Z"},"readmeFilename":"README.md","homepage":"https://github.com/dankogai/js-base64#readme"}