{"bugs":{"url":"https://github.com/substack/utf8-bytes/issues"},"dist":{"shasum":"116b025448c9b500081cdfbf1f4d6c6c37d8837d","tarball":"https://registry.npmjs.org/utf8-bytes/-/utf8-bytes-0.0.1.tgz","integrity":"sha512-GifWmJAx2qAXT+lZLhbkWhBsy7pr6xWHiPWlVToDiELdWgZwt4Ogjf9tlgvKuALzTFR/d+EPQQI9ogJV3957Jg==","signatures":[{"sig":"MEUCIQCi620DBl7Ay9Vae3C7ebF/AOmyGrFSMR6Nz+Iv00SFHAIgeATtkinGshqFFBxaIvIZUdGfTgozmEIGPeISKP3OMQI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","name":"utf8-bytes","_from":".","author":{"url":"http://substack.net","name":"James Halliday","email":"mail@substack.net"},"readme":"# utf8-bytes\n\nreturn an array of all the bytes in a unicode string\n\n[![build status](https://secure.travis-ci.org/substack/utf8-bytes.png)](http://travis-ci.org/substack/utf8-bytes)\n\nThis module is like `Buffer(str).toJSON()`, but without using `Buffer`.\n\n# example\n\n``` js\nvar bytes = require('utf8-bytes');\nconsole.log(bytes('[☉,☼]'));\n```\n\noutput:\n\n```\n$ node example/utf8-bytes.js\n[ 91, 226, 152, 137, 44, 226, 152, 188, 93 ]\n```\n\n# methods\n\n``` js\nvar bytes = require('utf8-bytes')\n```\n\n## bytes(str)\n\nReturn an array of integers from 0 through 255, inclusive, representing the\nbytes in the unicode string `str`.\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install utf8-bytes\n```\n\n# license\n\nMIT\n","license":"MIT","scripts":{"test":"tape test/*.js"},"_npmUser":{"name":"substack","email":"mail@substack.net"},"homepage":"https://github.com/substack/utf8-bytes","keywords":["utf8","utf-8","unicode","bytes","string","encoding"],"repository":{"url":"git://github.com/substack/utf8-bytes.git","type":"git"},"_npmVersion":"1.3.14","description":"return an array of bytes from a unicode string","directories":{},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dependencies":{},"readmeFilename":"readme.markdown","devDependencies":{"tape":"~1.0.4"},"_id":"utf8-bytes@0.0.1","version":"0.0.1"}