{"id":31805102,"url":"https://github.com/shahradelahi/base32","last_synced_at":"2025-10-11T02:46:30.676Z","repository":{"id":313712806,"uuid":"1052346628","full_name":"shahradelahi/base32","owner":"shahradelahi","description":"🔢 Base32 encoder and decoder for TypeScript/JavaScript, supporting both RFC 4648 and Crockford variants.","archived":false,"fork":false,"pushed_at":"2025-10-01T08:36:03.000Z","size":89,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T05:12:14.617Z","etag":null,"topics":["base32","crockford","decoder","encoder","isomorphic","rfc4648","typescript"],"latest_commit_sha":null,"homepage":"https://npmjs.com/@se-oss/base32","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/shahradelahi.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-07T22:46:31.000Z","updated_at":"2025-09-08T02:49:37.000Z","dependencies_parsed_at":"2025-09-08T04:31:33.526Z","dependency_job_id":null,"html_url":"https://github.com/shahradelahi/base32","commit_stats":null,"previous_names":["shahradelahi/base32"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/shahradelahi/base32","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Fbase32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Fbase32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Fbase32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Fbase32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shahradelahi","download_url":"https://codeload.github.com/shahradelahi/base32/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Fbase32/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005963,"owners_count":26084004,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["base32","crockford","decoder","encoder","isomorphic","rfc4648","typescript"],"created_at":"2025-10-11T02:46:29.658Z","updated_at":"2025-10-11T02:46:30.668Z","avatar_url":"https://github.com/shahradelahi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @se-oss/base32\n\n[![CI](https://github.com/shahradelahi/base32/actions/workflows/ci.yml/badge.svg?branch=main\u0026event=push)](https://github.com/shahradelahi/base32/actions/workflows/ci.yml)\n[![NPM Version](https://img.shields.io/npm/v/@se-oss/base32.svg)](https://www.npmjs.com/package/@se-oss/base32)\n[![MIT License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](/LICENSE)\n[![Install Size](https://packagephobia.com/badge?p=@se-oss/base32)](https://packagephobia.com/result?p=@se-oss/base32)\n\nA simple base32 encoder and decoder supporting both RFC 4648 and Crockford variants.\n\n---\n\n- [Installation](#-installation)\n- [Usage](#-usage)\n  - [RFC 4648](#rfc-4648)\n  - [Crockford](#crockford)\n- [Documentation](#-documentation)\n- [Future Enhancements](#-future-enhancements)\n- [Contributing](#-contributing)\n- [License](#license)\n\n## 📦 Installation\n\n```bash\npnpm add @se-oss/base32\n```\n\n## 📖 Usage\n\n### RFC 4648\n\n```typescript\nimport { decode, encode } from '@se-oss/base32';\n\nconst encoded = encode('hello world');\nconsole.log(encoded); // NBSWY3DPEB3W64TMMQ======\n\nconst decoded = decode(encoded);\nconsole.log(new TextDecoder().decode(decoded)); // hello world\n```\n\n### Crockford\n\n```typescript\nimport { crockfordDecode, crockfordEncode } from '@se-oss/base32';\n\nconst encoded = crockfordEncode('hello world');\nconsole.log(encoded); // D1JPRV3F41VPYWKCCG======\n\nconst decoded = crockfordDecode(encoded);\nconsole.log(new TextDecoder().decode(decoded)); // hello world\n```\n\n## 📚 Documentation\n\nFor all configuration options, please see [the API docs](https://www.jsdocs.io/package/@se-oss/base32).\n\n## 🚀 Future Enhancements\n\n- [ ] Implement Crockford's checksum feature.\n\n## 🤝 Contributing\n\nWant to contribute? Awesome! To show your support is to star the project, or to raise issues on [GitHub](https://github.com/shahradelahi/base32)\n\nThanks again for your support, it is much appreciated! 🙏\n\n## License\n\n[MIT](/LICENSE) © [Shahrad Elahi](https://github.com/shahradelahi) and [contributors](https://github.com/shahradelahi/base32/graphs/contributors).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahradelahi%2Fbase32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshahradelahi%2Fbase32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahradelahi%2Fbase32/lists"}