Package
hashids
Generate YouTube-like ids from numbers. Use Hashids when you do not want to expose your database ids to the user.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 343k
- +49% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 3 years ago
- v2.3.0
- GitHub stars
- 4.3k
- 204 forks
- Open issues / PRs
- 4 / 7
- Contributors
- -
- Commits, last 52 weeks
- 5
Downloads
Last week 2026-09-15 to 2026-09-21
343,026 downloads last week, 1,717,213 in the last month. The 12-month change of +49% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 036 in total
- Latest version
- 2.3.0, 24 May 20233 years ago
- First published
- 8 May 2012
- Last push to GitHub
- 12 Feb 2026224 days before the snapshot
- Repository archived
- No
- Open issues
- 4
- Open pull requests
- 7
- Commits, last 52 weeks
- 5
- Dependents on npm
- 476
Major versions
- v2 first release 2.0.0, 31 Aug 2019
- v1 first release 1.0.0, 10 Sept 2014
- v0 first release 0.1.0, 8 May 2012
Recent releases
| Version | Published |
|---|---|
| 2.3.0 | 24 May 2023 |
| 2.2.11 | 16 Feb 2023 |
| 2.2.10 | 20 Nov 2021 |
| 2.2.9 | 7 Nov 2021 |
| 2.2.8 | 18 Dec 2020 |
| 2.2.7 | 18 Dec 2020 |
| 2.2.6 | 18 Dec 2020 |
| 2.2.5 | 18 Dec 2020 |
| 2.2.4 | 18 Dec 2020 |
| 2.2.3 | 13 Dec 2020 |
| 2.2.2 | 7 Nov 2020 |
| 2.2.1 | 4 Feb 2020 |
| 2.2.0 | 3 Feb 2020 |
| 2.1.0 | 9 Nov 2019 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 134 kB
- Dependencies (0)
- None
npm install hashidsCDN
jsDelivr: 101.2k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/hashids@2.3.0/ - unpkg
https://unpkg.com/hashids@2.3.0/ - esm.sh
https://esm.sh/hashids@2.3.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| node-object-hash | 1m | - | 1 year ago | CommonJS | - |
Indexability: Indexed.