{"id":26375532,"url":"https://github.com/consento-org/base32-codecs","last_synced_at":"2025-03-17T02:17:41.180Z","repository":{"id":123732395,"uuid":"321565370","full_name":"consento-org/base32-codecs","owner":"consento-org","description":"codecs compatible base32-encode and base32-decode adapter.","archived":false,"fork":false,"pushed_at":"2020-12-15T10:21:28.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-22T09:15:25.829Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/consento-org.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"open_collective":"consento"}},"created_at":"2020-12-15T05:43:33.000Z","updated_at":"2024-04-23T11:21:36.358Z","dependencies_parsed_at":null,"dependency_job_id":"752bbcfc-a88d-4562-a294-d9cc58ebf8b1","html_url":"https://github.com/consento-org/base32-codecs","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"dc8223fc3a8c6f675ed8cef1f7443fe162a744c4"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consento-org%2Fbase32-codecs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consento-org%2Fbase32-codecs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consento-org%2Fbase32-codecs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consento-org%2Fbase32-codecs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/consento-org","download_url":"https://codeload.github.com/consento-org/base32-codecs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243865947,"owners_count":20360520,"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":"2025-03-17T02:17:40.590Z","updated_at":"2025-03-17T02:17:41.160Z","avatar_url":"https://github.com/consento-org.png","language":"TypeScript","funding_links":["https://opencollective.com/consento"],"categories":[],"sub_categories":[],"readme":"# base32-codecs\n\n`base32-codecs` is a [codecs][codecs] compatible adapter to [base32-encode][encode] and [base32-decode][decode].\n\n[codecs]: (https://github.com/mafintosh/codecs)\n[encode]: https://github.com/LinusU/base32-encode\n[decode]: https://github.com/LinusU/base32-decode\n\n## Usage\n\n```javascript\nconst {\n  base32, // RFC4648, unpadded\n  base32c, // Crockford\n  base32h, // RFC4648-HEX, unpadded\n  base32hp, // RFC4648-HEX, padded\n  base32p // RFC4648, Padded \n} = require('base32-codecs')\n\nfor (const codec of [base32, base32c, base32h, base32hp, base32p]) {\n  codec.encode(\n    codec.decode(crypto.randomBytes(10))\n  )\n}\n```\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsento-org%2Fbase32-codecs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconsento-org%2Fbase32-codecs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsento-org%2Fbase32-codecs/lists"}