{"_id":"base32-decode","_rev":"6-bb2bb2361e4db13cf4d3d5a6b1c36b14","name":"base32-decode","description":"Base32 decoder with support for multiple variants.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"base32-decode","version":"0.1.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/base32-decode.git"},"scripts":{"test":"standard && node test"},"devDependencies":{"arraybuffer-equal":"^1.0.4","hex-to-array-buffer":"^0.1.0","standard":"^8.0.0-beta.5"},"keywords":["base32 decode","base32 decoder","base32","base32hex","crockford","decoder","rfc3548","rfc4648"],"gitHead":"8ab8ccdfe8cbd0a1d8cc1bf5cae5e947048aa387","description":"Base32 decoder with support for multiple variants.","bugs":{"url":"https://github.com/linusu/base32-decode/issues"},"homepage":"https://github.com/linusu/base32-decode#readme","_id":"base32-decode@0.1.0","_shasum":"984de29c586cdfc2ae119b4a9e41f04c1d652f74","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"984de29c586cdfc2ae119b4a9e41f04c1d652f74","tarball":"https://registry.npmjs.org/base32-decode/-/base32-decode-0.1.0.tgz","integrity":"sha512-yvPixbTS5NXCZzTBox7BD74BtcpntVFQ00XKJfE9f8D4VlUoEo8/6qupPaRDyfbLtX1zW8hnTzO8GTmjuZ6U9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9j8lrw7DFZ2TNPsfWSgitaP3ljJtteqbdVdlNqW4OVQIhAIQcQsJcOCNx2slsfqNO4Wsazh95OoKCW7Ok+C7QK19y"}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/base32-decode-0.1.0.tgz_1471816570325_0.7924389471299946"}},"0.1.1":{"name":"base32-decode","version":"0.1.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LinusU/base32-decode.git"},"scripts":{"test":"standard && node test"},"devDependencies":{"arraybuffer-equal":"^1.0.4","hex-to-array-buffer":"^0.1.0","standard":"^8.0.0-beta.5"},"keywords":["base32 decode","base32 decoder","base32","base32hex","crockford","decoder","rfc3548","rfc4648"],"gitHead":"ccb50089c531090e9504b2bc908383b2ceb38a1f","description":"Base32 decoder with support for multiple variants.","bugs":{"url":"https://github.com/LinusU/base32-decode/issues"},"homepage":"https://github.com/LinusU/base32-decode#readme","_id":"base32-decode@0.1.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"integrity":"sha512-uyIw+78KEI2/mNol3rwuADVnLM5rhlPdYynIOJljU0vs7CvkWgitkVB52PfwFjixoItp3KXE3zVvf5UJvnmWqw==","shasum":"6249a342f4b68fdfc77cca7438716e1f4c9fbeaf","tarball":"https://registry.npmjs.org/base32-decode/-/base32-decode-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhb/5UvT8D9/yOIMO16CLsk0oll+Sk1rkIFicp+iWwCAiBnVXKO9/dPk7Q2EIiLRemRf2ML9WSumGQImZPTSN/rDw=="}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/base32-decode-0.1.1.tgz_1513273506599_0.6554692049976438"}},"1.0.0":{"name":"base32-decode","version":"1.0.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LinusU/base32-decode.git"},"scripts":{"test":"standard && node test"},"devDependencies":{"arraybuffer-equal":"^1.0.4","hex-to-array-buffer":"^0.1.0","standard":"^8.0.0-beta.5"},"keywords":["base32 decode","base32 decoder","base32","base32hex","crockford","decoder","rfc3548","rfc4648"],"gitHead":"fa61c01bc0bbd963a1abcf86cc519f09d70b09e0","description":"Base32 decoder with support for multiple variants.","bugs":{"url":"https://github.com/LinusU/base32-decode/issues"},"homepage":"https://github.com/LinusU/base32-decode#readme","_id":"base32-decode@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"integrity":"sha512-KNWUX/R7wKenwE/G/qFMzGScOgVntOmbE27vvc6GrniDGYb6a5+qWcuoXl8WIOQL7q0TpK7nZDm1Y04Yi3Yn5g==","shasum":"2a821d6a664890c872f20aa9aca95a4b4b80e2a7","tarball":"https://registry.npmjs.org/base32-decode/-/base32-decode-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKT592nFojg6qVrKNZd5GexXhgc4ChNg+DwFb+5ZkC7gIhAJQxkmIwk9K3Ct01JI6RHNOtAahOwdR/mrp+1aRbkC2i"}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/base32-decode-1.0.0.tgz_1513273546822_0.16334165050648153"}}},"readme":"# Base32 Decode\n\nBase32 decoder with support for multiple variants.\n\n## Installation\n\n```sh\nnpm install --save base32-decode\n```\n\n## Usage\n\n```js\nconst base32Decode = require('base32-decode')\n\nconsole.log(base32Decode('EHJQ6X0', 'Crockford'))\n//=> ArrayBuffer { 4 }\n\nconsole.log(base32Decode('ORSXG5A=', 'RFC4648'))\n//=> ArrayBuffer { 4 }\n\nconsole.log(base32Decode('EHIN6T0=', 'RFC4648-HEX'))\n//=> ArrayBuffer { 4 }\n```\n\n## API\n\n### base32Decode(input, variant)\n\n- `input` &lt;String&gt;\n- `variant` &lt;String&gt;\n- Return: &lt;ArrayBuffer&gt; The decoded raw data\n\nDecode the data in `input`. `variant` should be one of the supported variants\nlisted below.\n\n- `'RFC3548'` - Alias for `'RFC4648'`\n- `'RFC4648'` - [Base32 from RFC4648](https://tools.ietf.org/html/rfc4648)\n- `'RFC4648-HEX'` - [base32hex from RFC4648](https://tools.ietf.org/html/rfc4648)\n- `'Crockford'` - [Crockford's Base32](http://www.crockford.com/wrmg/base32.html)\n\n## See also\n\n- [base32-encode](https://github.com/LinusU/base32-encode) - Base32 encoder\n","maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"time":{"modified":"2022-06-13T04:17:17.186Z","created":"2016-08-21T21:56:12.174Z","0.1.0":"2016-08-21T21:56:12.174Z","0.1.1":"2017-12-14T17:45:07.426Z","1.0.0":"2017-12-14T17:45:47.799Z"},"homepage":"https://github.com/LinusU/base32-decode#readme","keywords":["base32 decode","base32 decoder","base32","base32hex","crockford","decoder","rfc3548","rfc4648"],"repository":{"type":"git","url":"git+https://github.com/LinusU/base32-decode.git"},"bugs":{"url":"https://github.com/LinusU/base32-decode/issues"},"license":"MIT","readmeFilename":"readme.md"}