{"_id":"btoa","_rev":"370392","name":"btoa","description":"btoa for Node.JS (it's a one-liner)","dist-tags":{"latest":"1.2.1"},"maintainers":[{"name":"coolaj86","email":""}],"time":{"modified":"2021-07-26T06:59:22.000Z","created":"2011-09-09T20:52:26.042Z","1.2.1":"2018-03-28T04:54:07.825Z","1.1.2":"2014-05-20T14:54:49.481Z","1.1.1":"2013-07-25T16:15:06.520Z","1.1.0":"2012-09-19T20:23:35.250Z","1.0.1":"2012-06-26T19:28:20.687Z","1.0.0":"2011-09-09T20:52:26.042Z"},"users":{"mysticatea":true,"sqrtthree":true,"rochejul":true,"hengkiardo":true,"lorenazohar":true,"ayoungh":true,"masonwan":true,"staydan":true,"miadzadfallah":true},"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com"},"repository":{"type":"git","url":"git://git.coolaj86.com/coolaj86/btoa.js.git"},"versions":{"1.2.1":{"name":"btoa","homepage":"https://git.coolaj86.com/coolaj86/btoa.js.git","description":"btoa for Node.JS (it's a one-liner)","repository":{"type":"git","url":"git://git.coolaj86.com/coolaj86/btoa.js.git"},"keywords":["btoa","browser"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"https://coolaj86.com"},"engines":{"node":">= 0.4.0"},"bin":{"btoa":"bin/btoa.js"},"main":"index","license":"(MIT OR Apache-2.0)","version":"1.2.1","gitHead":"19e0da65686fc1d726f1b5210930a47fe9fbd3a3","_id":"btoa@1.2.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"dist":{"shasum":"01a9909f8b2c93f6bf680ba26131eb30f7fa3d73","size":11454,"noattachment":false,"key":"/btoa/-/btoa-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/btoa/download/btoa-1.2.1.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/btoa_1.2.1_1522212847456_0.8367382855709491"},"_hasShrinkwrap":false,"publish_time":1522212847825,"_cnpm_publish_time":1522212847825},"1.1.2":{"name":"btoa","homepage":"https://github.com/coolaj86/node-browser-compat","description":"btoa for Node.JS (it's a one-liner)","repository":{"type":"git","url":"git://github.com/coolaj86/node-browser-compat.git"},"keywords":["btoa","browser"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"http://coolaj86.info"},"engines":{"node":">= 0.4.0"},"bin":{"btoa":"bin/btoa.js"},"main":"index","license":"Apache2","version":"1.1.2","bugs":{"url":"https://github.com/coolaj86/node-browser-compat/issues"},"_id":"btoa@1.1.2","dist":{"shasum":"3e40b81663f81d2dd6596a4cb714a8dc16cfabe0","size":11432,"noattachment":false,"key":"/btoa/-/btoa-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/btoa/download/btoa-1.1.2.tgz"},"_from":"./","_npmVersion":"1.3.24","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"maintainers":[{"name":"coolaj86","email":""}],"directories":{},"publish_time":1400597689481,"_cnpm_publish_time":1400597689481,"_hasShrinkwrap":false},"1.1.1":{"name":"btoa","homepage":"https://github.com/coolaj86/node-browser-compat","description":"btoa for Node.JS (it's a one-liner)","repository":{"type":"git","url":"git://github.com/coolaj86/node-browser-compat.git"},"keywords":["btoa","browser"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"http://coolaj86.info"},"engines":{"node":">= 0.4.0"},"bin":{"btoa":"bin/btoa.js"},"main":"index","license":"Apache2","version":"1.1.1","readmeFilename":"README.md","bugs":{"url":"https://github.com/coolaj86/node-browser-compat/issues"},"_id":"btoa@1.1.1","dist":{"shasum":"27c8106263108e9dd41ff2faaad2a17045e35eba","size":1102,"noattachment":false,"key":"/btoa/-/btoa-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/btoa/download/btoa-1.1.1.tgz"},"_from":"./","_npmVersion":"1.2.32","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"maintainers":[{"name":"coolaj86","email":""}],"directories":{},"publish_time":1374768906520,"_cnpm_publish_time":1374768906520,"_hasShrinkwrap":false},"1.1.0":{"name":"btoa","homepage":"https://github.com/coolaj86/node-browser-compat","description":"btoa for Node.JS (it's a one-liner)","repository":{"type":"git","url":"git://github.com/coolaj86/node-browser-compat.git"},"keywords":["btoa","browser"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"http://coolaj86.info"},"engines":{"node":">= 0.4.0"},"bin":{"btoa":"bin/btoa.js"},"main":"index","license":"Apache2","version":"1.1.0","_id":"btoa@1.1.0","dist":{"shasum":"635f005ac1812b0247334437a47b7f6512bde443","size":1059,"noattachment":false,"key":"/btoa/-/btoa-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/btoa/download/btoa-1.1.0.tgz"},"_npmVersion":"1.1.49","_npmUser":{"name":"coolaj86","email":"coolaj86@gmail.com"},"maintainers":[{"name":"coolaj86","email":""}],"directories":{},"publish_time":1348086215250,"_cnpm_publish_time":1348086215250,"_hasShrinkwrap":false},"1.0.1":{"name":"btoa","homepage":"https://github.com/coolaj86/node-browser-compat","description":"btoa for Node.JS (it's a one-liner)","repository":{"type":"git","url":"git://github.com/coolaj86/node-browser-compat.git"},"keywords":["btoa","browser"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"http://coolaj86.info"},"engines":{"node":">= 0.4.0"},"bin":{"btoa":"bin/btoa.js"},"main":"index","version":"1.0.1","_id":"btoa@1.0.1","dist":{"shasum":"e224ea2d66a29086b06a1c846c79e588b3accaa2","size":779,"noattachment":false,"key":"/btoa/-/btoa-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/btoa/download/btoa-1.0.1.tgz"},"maintainers":[{"name":"coolaj86","email":""}],"directories":{},"publish_time":1340738900687,"_cnpm_publish_time":1340738900687,"_hasShrinkwrap":false},"1.0.0":{"name":"btoa","homepage":"https://github.com/coolaj86/node-browser-compat","description":"btoa for Node.JS (it's a one-liner)","repository":{"type":"git","url":"git://github.com/coolaj86/node-browser-compat.git"},"keywords":["btoa","browser"],"author":{"name":"AJ ONeal","email":"coolaj86@gmail.com","url":"http://coolaj86.info"},"engines":{"node":">= 0.4.0"},"dependencies":{},"main":"index","version":"1.0.0","_npmJsonOpts":{"file":"/Users/coolaj86/.npm/btoa/1.0.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"btoa@1.0.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.22","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"554b62c2c2d837f71b9959f1b42a37fec8d02fcb","size":688,"noattachment":false,"key":"/btoa/-/btoa-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/btoa/download/btoa-1.0.0.tgz"},"scripts":{},"maintainers":[{"name":"coolaj86","email":""}],"directories":{},"publish_time":1315601546042,"_cnpm_publish_time":1315601546042,"_hasShrinkwrap":false}},"readme":"btoa\n===\n\n| [atob](https://git.coolaj86.com/coolaj86/atob.js)\n| **btoa**\n| [unibabel.js](https://git.coolaj86.com/coolaj86/unibabel.js)\n| Sponsored by [ppl](https://ppl.family)\n\nA port of the browser's `btoa` function.\n\nUses `Buffer` to emulate the exact functionality of the browser's btoa\n(except that it supports some unicode that the browser may not).\n\nIt turns <strong>b</strong>inary data __to__ base64-encoded <strong>a</strong>scii.\n\n```js\n(function () {\n  \"use strict\";\n\n  var btoa = require('btoa');\n  var bin = \"Hello, 世界\";\n  var b64 = btoa(bin);\n\n  console.log(b64); // \"SGVsbG8sIBZM\"\n}());\n```\n\n**Note**: Unicode may or may not be handled incorrectly.\nThis module is intended to provide exact compatibility with the browser.\n\nCopyright and License\n===\n\nCode copyright 2012-2018 AJ ONeal\n\nDual-licensed MIT and Apache-2.0\n\nDocs copyright 2012-2018 AJ ONeal\n\nDocs released under [Creative Commons](https://git.coolaj86.com/coolaj86/btoa.js/blob/master/LICENSE.DOCS).\n","_attachments":{},"homepage":"https://git.coolaj86.com/coolaj86/btoa.js.git","license":"(MIT OR Apache-2.0)"}