{"id":15687103,"url":"https://github.com/linusu/base32-decode","last_synced_at":"2025-05-05T21:42:20.848Z","repository":{"id":10577009,"uuid":"66222568","full_name":"LinusU/base32-decode","owner":"LinusU","description":"Base32 decoder with support for multiple variants","archived":false,"fork":false,"pushed_at":"2021-12-14T09:49:52.000Z","size":9,"stargazers_count":9,"open_issues_count":9,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-29T12:43:18.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LinusU.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-21T21:55:43.000Z","updated_at":"2023-01-09T16:26:29.000Z","dependencies_parsed_at":"2022-07-21T16:02:21.526Z","dependency_job_id":null,"html_url":"https://github.com/LinusU/base32-decode","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusU%2Fbase32-decode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusU%2Fbase32-decode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusU%2Fbase32-decode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusU%2Fbase32-decode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinusU","download_url":"https://codeload.github.com/LinusU/base32-decode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232507749,"owners_count":18534293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T17:43:24.426Z","updated_at":"2025-01-04T18:38:16.377Z","avatar_url":"https://github.com/LinusU.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"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//=\u003e ArrayBuffer { 4 }\n\nconsole.log(base32Decode('ORSXG5A=', 'RFC4648'))\n//=\u003e ArrayBuffer { 4 }\n\nconsole.log(base32Decode('EHIN6T0=', 'RFC4648-HEX'))\n//=\u003e ArrayBuffer { 4 }\n```\n\n## API\n\n### base32Decode(input, variant)\n\n- `input` \u0026lt;String\u0026gt;\n- `variant` \u0026lt;String\u0026gt;\n- Return: \u0026lt;ArrayBuffer\u0026gt; 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinusu%2Fbase32-decode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinusu%2Fbase32-decode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinusu%2Fbase32-decode/lists"}