{"name":"z32","version":"1.1.0","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","_id":"z32@1.1.0","gitHead":"63bb80e556435419eed53853045eaade1e418121","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-1WUHy+VS6d0HPNspDxvLssBbeQjXMjSnpv0vH82vRAUfg847NmX3OXozp/hRP5jPhxBbrVzrgvAt+UsGNzRFQQ==","shasum":"f308de8e0cb877671368de47b9cb4c9d5a6f507e","tarball":"http://registry-npm.ywwl.com/z32/download/z32-1.1.0.tgz","fileCount":7,"unpackedSize":9237,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2K+pj5SzLbAvHDjkviY0eY+VBWqcLf8Lmu+CboapDFAiEA1Jrm+pQZ6LrmHY0OXB9zRV9W4A+K0+oREwEHm1BtGL8="}],"size":3281,"noattachment":false,"key":"/z32/-/z32-1.1.0.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.1.0_1709831214505_0.9335930791071032"},"_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":1709831214660,"_cnpm_publish_time":1709831214660,"dist-tags":{"latest":"1.1.0"}}