{"id":19345193,"url":"https://github.com/web3pack/base-x","last_synced_at":"2026-04-11T02:39:52.296Z","repository":{"id":36978728,"uuid":"484090229","full_name":"Web3Pack/base-x","owner":"Web3Pack","description":"A modern base-x encoding library implemented in TypeScript with minimal dependencies for use in browser and Node.js.","archived":false,"fork":false,"pushed_at":"2023-01-31T03:04:35.000Z","size":348,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-24T20:14:38.048Z","etag":null,"topics":["base16","base2","base45","base58","bitcoin","crypto","cryptography","decode","decoding","encode","encoding","javascript","nodejs","npm","typescript","web3"],"latest_commit_sha":null,"homepage":"","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/Web3Pack.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}},"created_at":"2022-04-21T14:45:16.000Z","updated_at":"2022-04-22T10:07:19.000Z","dependencies_parsed_at":"2023-02-18T16:32:14.513Z","dependency_job_id":null,"html_url":"https://github.com/Web3Pack/base-x","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Pack%2Fbase-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Pack%2Fbase-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Pack%2Fbase-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Web3Pack%2Fbase-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Web3Pack","download_url":"https://codeload.github.com/Web3Pack/base-x/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240451919,"owners_count":19803540,"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":["base16","base2","base45","base58","bitcoin","crypto","cryptography","decode","decoding","encode","encoding","javascript","nodejs","npm","typescript","web3"],"created_at":"2024-11-10T04:05:17.759Z","updated_at":"2026-04-11T02:39:52.267Z","avatar_url":"https://github.com/Web3Pack.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CodeQL](https://github.com/Web3Pack/base-x/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Web3Pack/base-x/actions/workflows/codeql-analysis.yml)\n[![Node.js Package](https://github.com/Web3Pack/base-x/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/Web3Pack/base-x/actions/workflows/npm-publish.yml)\n\n# Base-x encoding library\n\nA modern base-x encoding library implemented in TypeScript with minimal dependencies for use in browser and Node.js.\n\nFollowing alphabets are supported:\n\n-   Base2 = 01\n-   Base16 = 0123456789abcdef\n-   Base45 = 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%\\*+-./:\n-   Base58 = 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz\n\n## Example\n\n```ts\nimport { base58 } from '@web3pack/base-x';\n\nconst base58Converter = base58();\n\nconst text = Buffer.from('Hello World!');\n\nconst base58Text = base58Converter.encode(text);\n// =\u003e 2NEpo7TZRRrLZSi2U\n\nconst base58Decoded = base58Converter.decode(base58Text);\nconst base58DecodedText = Buffer.from(base58Decoded).toString();\n// =\u003e Hello World!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3pack%2Fbase-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb3pack%2Fbase-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3pack%2Fbase-x/lists"}