{"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":{"integrity":"sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==","shasum":"01a9909f8b2c93f6bf680ba26131eb30f7fa3d73","tarball":"http://registry-npm.ywwl.com/btoa/download/btoa-1.2.1.tgz","fileCount":7,"unpackedSize":32050,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFfVgJxK59hPYC9LW5yOh04O8f+KZ3QWoD37Q1OvJJL+AiBVY/Dw7z8bWbnP+FjNfqMvSG7xv1XdNZALQWlqN0UPHQ=="}],"size":11454,"noattachment":false,"key":"/btoa/-/btoa-1.2.1.tgz"},"maintainers":[{"name":"coolaj86","email":"coolaj86@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/btoa_1.2.1_1522212847456_0.8367382855709491"},"_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","publish_time":1522212847825,"_cnpm_publish_time":1522212847825,"dist-tags":{"latest":"1.2.1"}}