js-tokens

Tiny JavaScript tokenizer.

npm says / week

npm says 370,992,561

real installs / week

≈ 371M

high confidence

noise under 1% of npm's count, so filtering barely changes it.

Most used major version: 4, not the latest one, with 70% of last week's downloads above the crawler floor. Most used single version: 4.0.0.

Mirror spikes and crawlers removed. CI and dependency installs still count, so this is not a head count. Snapshot from the daily build of Nov 27, 2026, last 7 days of npm data. With JavaScript on, this page recomputes it live from the npm API.

How many people use js-tokens?

npm counted 370,992,561 downloads of js-tokens in the last 7 days. Nobody can count people exactly, npm included: it does not record who downloaded what. After removing mirror spikes and crawlers, about 371M look like real installs. At this scale most of them come from CI, builds and other packages that depend on js-tokens, so the number of people behind them is far smaller.

Is js-tokens still maintained?

Most likely yes, going by its releases. The latest version, 10.0.2, came out on Nov 26, 2026. The last 12 months saw 3 stable releases, typically 177 days apart. It was first published on Mar 8, 2014. npm lists 1 maintainer.

Is js-tokens still used?

Downloads with publish spikes removed are up 53% over 3 months and up 299% over 11 months. For scale, the median of the 582 packages we track, which lean towards today's most downloaded, is up 184% over 11 months, so this one is ahead of that. Last week, 70% of downloads above the crawler floor were on major version 4, not the latest one; the most used single version was 4.0.0, with 70%. Weekdays get 1.7× the downloads of weekends, which fits people at work, though CI follows the same rhythm. Crawlers account for about 648 downloads a week, roughly 24 per version.

Monthly downloads of js-tokens

The busiest month was Oct 2026, with about 47,516,790 downloads a day once publish spikes are removed; the quietest was Dec 2025 (the holiday season), with about 11,437,635.

monthnpm downloadspublish spikes removedreal installsvs month before
Oct 2026 1,330,470,111 0 1.33B up 14%
Sep 2026 1,245,554,858 0 1.25B up 21%
Aug 2026 1,060,484,954 0 1.06B up 8%
Jul 2026 977,984,601 0 978M up 11%
Jun 2026 855,432,679 0 855M up 12%
May 2026 791,214,594 0 791M up 9%
Apr 2026 700,357,055 0 700M up 16%
Mar 2026 623,942,180 0 624M up 25%
Feb 2026 450,133,494 0 450M up 24%
Jan 2026 403,118,961 0 403M up 14%
Dec 2025 354,566,694 0 355M —

Whole months through Oct 31, 2026. Publish spikes are found day by day and summed per month. Real installs apply this week's crawler share to each month's downloads (the upper end also keeps the removed spikes), so they follow npm's curve rather than measure it. The change compares spike-free downloads per day.

How the estimate works

  1. Cut the spike every new version gets from mirrors and scanners in its first days.
  2. Subtract the crawler floor: the flat count crawlers download from every version each week.
  3. Show what is left as a range, with a confidence level. It still includes CI and dependency installs, so it is not a count of people.

Read the methodology