NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #69 most downloaded on npm
A tiny (118 bytes), secure URL-friendly unique string ID generator
Last release 24 days ago
10 Sep 2026
Release timing varies
gaps range from 8 days to 6 months
Nearly every release is documented
notes for 56 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
133 releases · first in 2017
Fixed docs.
Made nanoid() and customAlphabet() 4 times faster (by @orhanayd ).
nanoid() and customAlphabet() 4 times faster (by @orhanayd).One column per quarter.
Fixed forever loop on negative size (by @spokodev ).
Fixed random pool corruption on big ID sizes.
Fixed npm package size regression.
Fixed npm package size regression.
Moved to npm Provenance and Staged Publishing.
Fixed breaking Nano ID by requesting big ID.
Fixed breaking nanoid by requesting big ID (by @alanzabihi).
Fixed npm package size regression.
Made cusatomAlphabet 75% faster (by @saripovdenis).
cusatomAlphabet 75% faster (by @saripovdenis).Added --version to CLI (by @mahmoodhamdi).
--version to CLI (by @mahmoodhamdi).nanoid.js for CDN (by @mahmoodhamdi).customRandom types (by @oguimbal).Fixed infinite loop on 0 size for customAlphabet.
customAlphabet.Fixed latest version on npm after 3.x release.
Fixed latest version on npm after 3.x release.
Fixed React Native support (by @steida).
- Fixed module docs.
Fixed opaque types support for non-secure generator.
Added opaque types support (by @kossnocorp).
Fixed a way to break Nano ID by passing non-integer size (by @myndzi).
Reduced customAlphabet size (by @kirillgroshkov).
customAlphabet size (by @kirillgroshkov).Fixed Parcel support (by @WilhelmYakunin).
- Fixed React Native support.
Make browser’s version faster by increasing size a little (by Samuel Elgozi).
- Fixed CLI docs (by @ilyaboka).
Fixed CLI docs (by Chris Schmich).
Fixed webcrypto import (by Divyansh Singh).
webcrypto import (by Divyansh Singh).- Fixed Node.js 18 support.
Nothing published for this version
- Added link to Github Sponsors.
Reduced npm package size (by @HiChen404).
Nothing published for this version
Fixed killing the app by setting huge user ID.
Fixed infinite loop on async for React Native (by @OvergrowthBeards-JB ).
Fixed infinite loop on zero size.
Fixed infinite loop on negative size (by @greymoth-jp).
Fixed npm provenance error.
Fixed random pool corruption on big ID sizes.
- Reduced npm package size.
Fixed breaking Nano ID by requesting big ID.
- Fixed React Native support.
Fixed React Native support (by @steida).
- Reduced npm package size.
Fixed a way to break Nano ID by passing non-integer size (by @myndzi).
Fixed node16 TypeScript support (by Saadi Myftija).
node16 TypeScript support (by Saadi Myftija).- Fixed package.
- Backport funding information.
Fixed --help in CLI (by @Lete114).
--help in CLI (by @Lete114).Reduced size (by Anton Khlynovskiy).
Fixed enhanced-resolve support.
enhanced-resolve support.- Reduced package size.
Nothing published for this version
Nothing published for this version
Reduced async exports size (by Artyom Arutyunyan).
async exports size (by Artyom Arutyunyan).Fixed collision vulnerability on object in size (by Artyom Arutyunyan).
size (by Artyom Arutyunyan).Reduced size for project with brotli compression (by Anton Khlynovskiy).
brotli compression (by Anton Khlynovskiy).- Reduced npm package size.
- Reduced npm package size.
Cleaned dependencies from development tools.
dependencies from development tools.Improved performance (by Eitan Har-Shoshanim).
Your coding agent can read these notes before it upgrades. Set up the MCP server →