@samwen/base62-util

1.0.4 • Public • Published

base62-util

Instead of base64, base62 encode for string consists of only alphanumeric:

0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ

how to install

npm install @samwen/base62-util --save

how to use

const { base62_encode, base62_decode } = require('@samwen/base62-util');

const str = 'Hello base62 encode/decode';
const encoded = base62_encode(str);
const decoded = base_decode(encoded);

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.42latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.42
1.0.31
1.0.21
1.0.12
1.0.01

Package Sidebar

Install

npm i @samwen/base62-util

Weekly Downloads

7

Version

1.0.4

License

ISC

Unpacked Size

2.65 kB

Total Files

4

Last publish

Collaborators

  • samwen