Package note
js-tiktoken
JavaScript port of tiktoken
JavaScript port of tiktoken
Scroll the table horizontally to compare packages. Each fact includes its source and limits.
| Fact | js-tiktoken |
|---|---|
| Analyzed version | 1.0.21 |
| npm downloads | 13,560,593 Source2026-11-28 through 2026-12-04 (inclusive) Retrieved: 2026-12-06T04:50:37.312Z All versions; includes CI and repeat downloads, not unique users. |
| Browser bundle | 2.5 MB gzip 5.3 MB minified Bundlephobia minified + gzip Version 1.0.21 SourceRetrieved: 2026-12-06T04:50:37.227Z Synthetic default-entry browser bundle; imports, plugins, runtime and bundler settings change app output. |
| Version released | 2025-08-09T01:00:31.350Z Version 1.0.21 SourceRetrieved: 2026-12-06T04:50:37.190Z Publisher-declared metadata; not an independent code audit. |
| Registry modified | 2025-08-09T01:00:31.537Z Version 1.0.21 SourceRetrieved: 2026-12-06T04:50:37.190Z Registry document modification, not necessarily a code release. |
| Declared license | MIT Version 1.0.21 SourceRetrieved: 2026-12-06T04:50:37.190Z Publisher-declared metadata; not an independent code audit. |
| Registry-declared types | ./dist/index.d.ts./dist/lite.d.ts./dist/ranks/cl100k_base.d.ts./dist/ranks/gpt2.d.ts./dist/ranks/p50k_base.d.ts./dist/ranks/p50k_edit.d.ts./dist/ranks/r50k_base.d.ts./dist/ranks/o200k_base.d.tsVersion 1.0.21 SourceRetrieved: 2026-12-06T04:50:37.190Z Registry-declared paths only; files, correctness and runtime compatibility have not been verified. Missing paths mean unknown. |
| npm unpacked size | 21.4 MB Version 1.0.21 SourceRetrieved: 2026-12-06T04:50:37.190Z npm unpacked archive size; not a browser bundle measurement. |
| Security advisories | Not checked Retrieved: Unavailable No advisory service is queried. Not checked does not mean safe. |
Analyzed versions follow the latest npm dist-tag at acquisition. Compatibility has not been verified.
- js-tiktoken: JavaScript port of tiktoken
The table records js-tiktoken version 1.0.21. Download counts cover all versions during the stated period. Read each source with its retrieval time and limits. Missing declarations mean unknown. Security advisories are not checked, and no composite health or quality score is assigned.
Free JS Stack Cheatsheet
The best package for every category — one PDF.
Join 500+ devs. No spam.