nanoid62
v1.0.8
Published
A tiny and fast nanoid that uses the base62 alphabet
Readme
nanoid62
A tiny and fast nanoid that uses the base62 alphabet, which has the following benefits:
- URL friendly: doesn't need escaping
- Copyable: double click selects the whole ID
- Expandable: easy to prefix (e.g.
user_${nanoid62()})
Installation
npm install nanoid62Usage
import { nanoid62 } from "nanoid62";
const id = nanoid62();