magic-string
Modify strings, generate sourcemaps
npm says / week
npm says 377,705,189
real installs / week
≈ 378M
noise under 1% of npm's count, so filtering barely changes it.
Most used major version: 0, not the latest one, with 65% of last week's downloads above the crawler floor. Most used single version: 0.30.21.
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 magic-string?
npm counted 377,705,189 downloads of magic-string 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 378M look like real installs. At this scale most of them come from CI, builds and other packages that depend on magic-string, so the number of people behind them is far smaller.
Is magic-string still maintained?
Most likely yes, going by its releases. The latest version, 1.4.5, came out on Oct 27, 2026. The last 12 months saw 15 stable releases, typically 7 days apart. It was first published on Nov 4, 2014. npm lists 4 maintainers.
Is magic-string still used?
Downloads with publish spikes removed are up 99% over 3 months and up 434% 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, 65% of downloads above the crawler floor were on major version 0, not the latest one; the most used single version was 0.30.21, with 51%. Weekdays get 1.7× the downloads of weekends, which fits people at work, though CI follows the same rhythm. Crawlers account for about 1,501 downloads a week, roughly 11 per version.
Monthly downloads of magic-string
The busiest month was Oct 2026, with about 44,356,577 downloads a day once publish spikes are removed; the quietest was Dec 2025 (the holiday season), with about 8,775,406.
| month | npm downloads | publish spikes removed | real installs | vs month before |
|---|---|---|---|---|
| Oct 2026 | 1,241,984,162 | 0 | 1.24B | up 30% |
| Sep 2026 | 1,025,129,250 | 0 | 1.03B | up 30% |
| Aug 2026 | 815,639,749 | 0 | 816M | up 9% |
| Jul 2026 | 749,975,478 | 0 | 750M | up 10% |
| Jun 2026 | 657,546,923 | 0 | 657M–658M | up 12% |
| May 2026 | 605,075,415 | 0 | 605M | up 8% |
| Apr 2026 | 542,417,077 | 0 | 542M | up 9% |
| Mar 2026 | 515,350,607 | 0 | 515M | up 21% |
| Feb 2026 | 385,722,614 | 0 | 386M | up 29% |
| Jan 2026 | 331,416,408 | 0 | 331M | up 22% |
| Dec 2025 | 272,037,579 | 0 | 272M | — |
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
- Cut the spike every new version gets from mirrors and scanners in its first days.
- Subtract the crawler floor: the flat count crawlers download from every version each week.
- 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.