GitShow/sindresorhus/base62
sindresorhus

base62

Encode & decode strings, bytes, and integers to Base62

by sindresorhus
Star on GitHubForknpm

JavaScript

94 stars6 forks1 contributorQuiet · 9mo agoSince 2024v1.0.0MIT

Meet the team

See all 1 on GitHub →
sindresorhus
sindresorhus4 contributions

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 discussion · Last activity 9mo ago
See all on GitHub →
borzaka
Incorrect round-trip encoding/decoding removes leading "1"OpenIssue

When using and , the round-trip result is not consistent. Specifically, the decoded string is missing the leading character from the original input. Example Code: Actual Output: Expected Output: I tested the results here: https://base62.org/ encodes to: decodes to When I try to decode the with base62.org, it decodes to (yes, there is a strange character at the beginning) When I try to encode the with , it encodes to so something different: and not to from which the came from.

borzaka · 8mo ago

Recent fixes

View closed PRs →
sindresorhus
Custom alphabetClosedIssue

Not something I personally need, but a good pull request would be accepted.

sindresorhus · 9mo ago
Structured data for AI agents

Repository: sindresorhus/base62. Description: Encode & decode strings, bytes, and integers to Base62 Stars: 94, Forks: 6. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v1.0.0 (9mo ago). Open PRs: 0, open issues: 1. Last activity: 9mo ago. Community health: 71%. Top contributors: sindresorhus.

·@ofershap

Replace github.com with gitshow.dev