npm package
Homejs-tiktoken
js-tiktoken is a JavaScript port of the tiktoken library, which provides a BPE tokenizer for OpenAI's models. It is useful for encoding and decoding text in applications that interact with OpenAI's APIs. The library can be used in a lightweight manner by loading only the necessary ranks to minimize bundle size.
- lurq health score
- 59/100
- Confidence
- proven
- Weekly downloads
- 5,901,919
- Latest version
- 1.0.21
- Last release
- Aug 9, 2025
- License
- MIT
Should you depend on js-tiktoken?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks js-tiktoken at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 17, 2026; this page refreshes every 168 hours. Source repository.