Key numbers
As of 25 Sept 2026
- Weekly downloads
- 5.7m
- +249% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 1 year ago
- v1.0.21
- GitHub stars
- 1.1k
- 81 forks
- Open issues / PRs
- 31 / 3
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
5,716,287 downloads last week, 28,675,572 in the last month. The 12-month change of +249% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 022 in total
- Latest version
- 1.0.21, 9 Aug 20251 year ago
- First published
- 13 May 2023
- Last push to GitHub
- 9 Aug 2025412 days before the snapshot
- Repository archived
- No
- Open issues
- 31
- Open pull requests
- 3
- Commits, last 52 weeks
- 0
- Dependents on npm
- -
Major versions
- v1 first release 1.0.0, 13 May 2023
Recent releases
| Version | Published |
|---|---|
| 1.0.21 | 9 Aug 2025 |
| 1.0.20 | 22 Apr 2025 |
| 1.0.19 | 14 Feb 2025 |
| 1.0.18 | 4 Feb 2025 |
| 1.0.17 | 2 Feb 2025 |
| 1.0.16 | 19 Dec 2024 |
| 1.0.15 | 4 Oct 2024 |
| 1.0.14 | 15 Aug 2024 |
| 1.0.13 | 15 Aug 2024 |
| 1.0.12 | 13 May 2024 |
| 1.0.11 | 12 Apr 2024 |
| 1.0.10 | 28 Jan 2024 |
| 1.0.9 | 28 Jan 2024 |
| 1.0.8 | 15 Nov 2023 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 21.4 MB
- Dependencies (1)
base64-js
npm install js-tiktoken- jsDelivr
https://cdn.jsdelivr.net/npm/js-tiktoken@1.0.21/ - unpkg
https://unpkg.com/js-tiktoken@1.0.21/ - esm.sh
https://esm.sh/js-tiktoken@1.0.21
Indexability: Not indexed (discovery only): no category.