{"name":"z32","version":"1.0.1","description":"Encode & decode z-base32","main":"index.js","dependencies":{"b4a":"^1.5.3"},"devDependencies":{"base-x":"^4.0.0","base32":"0.0.7","brittle":"^3.1.3","nanobench":"^3.0.0","rfc4648":"^1.5.2","standard":"^17.0.0"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/z32.git"},"scripts":{"test":"standard && brittle test.js","bench":"node benchmark.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/z32/issues"},"homepage":"https://github.com/mafintosh/z32","gitHead":"2d953eeb13ae767a6319b84c91cdb4a0e889c960","_id":"z32@1.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-Uytfqf6VEVchHKZDw0NRdCViOARHP84uzvOw0CXCMLOwhgHZUL9XibpEPLLQN10mCVLxOlGCQWbkV7km7yNYcw==","shasum":"074b37ddd61d58b746bfb50b31cf0895700d3685","tarball":"http://registry-npm.ywwl.com/z32/download/z32-1.0.1.tgz","fileCount":7,"unpackedSize":9209,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDRKW71Z0eLJWApJ6dPZY018653qAR5aUDyFMrUM8fOOAiEA6bNYU6DCgpUwknfeXBBCyAPh65a0fONB/ZKrXYqvKZM="}],"size":3249,"noattachment":false,"key":"/z32/-/z32-1.0.1.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/z32_1.0.1_1692648766073_0.20873912581400234"},"_hasShrinkwrap":false,"readme":"# z32\n\nz-base-32 encoder & decoder\n\n```\nnpm install z32\n```\n\n## Usage\n\n``` js\nconst z32 = require('z32')\n\nconst s = z32.encode('Hello, World!')\n\nconsole.log(s) // jb1sa5dxfoofq551pt1nn\n\nconst b = z32.decode(s)\n\nconsole.log(b) // Buffer('Hello, World!')\n```\n\n## API\n\n#### `const s = z32.encode(stringOrBuffer)`\n\nEncode a string or buffer to z-base-32.\n\n#### `const buf = z32.decode(s)`\n\nReturns a decoded buffer. Throws if the string is invalid.\n\n## License\n\nMIT\n","publish_time":1692648766238,"_cnpm_publish_time":1692648766238,"dist-tags":{"latest":"1.1.0"}}