nanoid@6.0.0
// A tiny (118 bytes), secure URL-friendly unique string ID generator
$ npm install nanoid
downloads/wk
209,227,069
license
MIT
version
6.0.0
published
Jul 12, 2026
What is nanoid?
Nanoid is a lightweight library for generating unique, URL-safe string identifiers that are cryptographically secure. Developers use it as a smaller and faster alternative to UUID generators when they need random IDs for databases, URLs, or other applications. At just 118 bytes, it's ideal for projects where bundle size matters.
Links
Keywords
Maintainers
ai