Package
shortid
Amazingly short non-sequential url-friendly unique id generator.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 803.3k
- +7% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 1 year ago
- v2.2.17
- GitHub stars
- 5.7k
- 252 forks
- Open issues / PRs
- 15 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
803,280 downloads last week, 3,826,709 in the last month. The 12-month change of +7% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 032 in total
- Latest version
- 2.2.17, 23 Jan 20251 year ago
- First published
- 19 Dec 2011
- Last push to GitHub
- 23 Jan 2025609 days before the snapshot
- Repository archived
- No
- Open issues
- 15
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- -
Major versions
- v2 first release 2.0.0, 21 Jul 2013
- v1 first release 1.0.0, 19 Dec 2011
Recent releases
| Version | Published |
|---|---|
| 2.2.17 | 23 Jan 2025 |
| 2.2.16 | 21 Oct 2020 |
| 2.2.15 | 6 Sept 2019 |
| 2.2.14 | 4 Nov 2018 |
| 2.2.13 | 16 Aug 2018 |
| 2.2.12 | 12 Jul 2018 |
| 2.2.11 | 9 Jul 2018 |
| 2.2.10 | 8 Jul 2018 |
| 2.2.9 | 8 Jul 2018 |
| 2.2.8 | 5 Mar 2017 |
| 2.2.7 | 5 Mar 2017 |
| 2.2.6 | 3 Apr 2016 |
| 2.2.5 | 3 Apr 2016 |
| 2.2.4 | 17 Oct 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 21 kB
- Dependencies (1)
nanoid
npm install shortid- jsDelivr
https://cdn.jsdelivr.net/npm/shortid@2.2.17/ - unpkg
https://unpkg.com/shortid@2.2.17/ - esm.sh
https://esm.sh/shortid@2.2.17
Indexability: Indexed.