string-width
Get the visual width of a string - the number of columns required to display it
npm says
711,919,131
per week
Every tarball fetch: mirrors, scanners, CI and people.
real installs
high confidence≈ 712M
per week
Mirror spikes and crawlers removed. CI and dependency installs still count, so this is not a head count.
noise under 1% of npm's count, so nearly all of it counts. noise real installs
Why this estimate
With JavaScript on, this lists what the filter found for this package.
Most used major version: 4, not the latest one, with 47% of last week's downloads above the crawler floor. Most used single version: 4.2.3.
Snapshot from the daily build of Nov 9, 2026, last 7 days of npm data. With JavaScript on, this page recomputes it live from the npm API.
How many people use string-width?
npm counted 711,919,131 downloads of string-width 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 712M look like real installs. At this scale most of them come from CI, builds and other packages that depend on string-width, so the number of people behind them is far smaller.
Is string-width still maintained?
Most likely yes, going by its releases. The latest version, 8.3.0, came out on Sep 24, 2026. The last 12 months saw 5 stable releases, typically 70 days apart. It was first published on Jul 16, 2015. npm lists 1 maintainer.
Is string-width still used?
Downloads with publish spikes removed are up 39% over 3 months and up 146% over 11 months. For scale, the median of the 384 packages we track, which lean towards today's most downloaded, is up 164% over 11 months, so this one is behind that. Last week, 47% of downloads above the crawler floor were on major version 4, not the latest one; the most used single version was 4.2.3, with 46%. Weekdays get 1.7× the downloads of weekends, which fits people at work, though CI follows the same rhythm. Crawlers account for about 34,627 downloads a week, roughly 1,117 per version.
Monthly downloads of string-width
The busiest month was Oct 2026, with about 90,607,589 downloads a day once publish spikes are removed; the quietest was Dec 2025 (the holiday season), with about 34,765,070.
| month | npm downloads | publish spikes removed | real installs | vs month before |
|---|---|---|---|---|
| Oct 2026 | 2,265,189,720 | 0 | 2.27B | up 12% |
| Sep 2026 | 2,182,347,071 | 0 | 2.18B | up 17% |
| Aug 2026 | 2,135,299,298 | 0 | 2.14B | about flat |
| Jul 2026 | 2,186,333,791 | 0 | 2.19B | about flat |
| Jun 2026 | 2,110,176,316 | 0 | 2.11B | up 16% |
| May 2026 | 1,878,970,104 | 0 | 1.88B | up 8% |
| Apr 2026 | 1,688,458,905 | 0 | 1.69B | about flat |
| Mar 2026 | 1,811,003,709 | 0 | 1.81B | up 14% |
| Feb 2026 | 1,440,115,641 | 0 | 1.44B | up 19% |
| Jan 2026 | 1,340,216,478 | 0 | 1.34B | up 24% |
| Dec 2025 | 1,077,717,185 | 0 | 1.08B | — |
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 in its first days.
- Subtract the flat floor robots 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.