A one-way binary-to-text encoding algorithm.
- No ambiguous characters
- Easy to spell out
- Easy to read
- Completly URL-safe
- Mobile-friendly
- A base37 string can be selected completely in one go
npm i base37 --save
Include this line in your HTML (preferably in the body) and you can obtain base37 via the jsDelivr CDN:
<script src="https://cdn.jsdelivr.net/npm/base37"></script>
or the unpkg CDN:
<script src="https://unpkg.com/base37"></script>
or you can download the latest version of base37 here.
const base37 = require("base37");
console.log(base37.encode("Hello World!"));
//=> "zryy0wd03yqx"
console.log(base37.encode("Hello World!"));
//=> "zryy0wd03yqx"
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Bikossor (Initial creator)
See also the list of contributors who participated in this project.
This project is licensed under the GPL-3.0 License - see here for more details.