A small JavaScript library to generate YouTube-like ids from numbers.
require('hashids/cjs')
BigInt
s. If your environment supports them,
you can use the standard API to encode and decode them.
Note that trying to decode a BigInt
hashid on an unsupported environment will throw an error. Fixes #58. (df2c831)seps
(e.g. to avoid custom curses). Fixes #17.jest
testing frameworkprettier
eslint
rulessemantic-release
for automated releasesrequire('hashids/cjs')
BigInt
s. If your environment supports them,
you can use the standard API to encode and decode them.
Note that trying to decode a BigInt
hashid on an unsupported environment will throw an error. Fixes #58. (df2c831)seps
(e.g. to avoid custom curses). Fixes #17.jest
testing frameworkprettier
eslint
rulessemantic-release
for automated releases