npm package
Homejs-tokens
js-tokens is a tiny, regex-powered JavaScript tokenizer that is lenient and almost compliant with the JavaScript specification. It is useful for breaking down JavaScript code into tokens for further analysis or processing in applications that require parsing JavaScript syntax.
- lurq health score
- 59/100
- Confidence
- proven
- Weekly downloads
- 185,578,553
- Latest version
- 10.0.0
- Last release
- Dec 8, 2025
- License
- MIT
Should you depend on js-tokens?
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-tokens 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
Upgrading js-tokens
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 9.0.1 → 10.0.0being extracted
- 8.0.3 → 9.0.1being extracted
- 7.0.0 → 8.0.3diff ready
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 20, 2026; this page refreshes every 168 hours. Source repository.