Skip to content
JS
Package

string-pixel-width

String pixel width measurement on the backend in Javascript

v1.11.0, 20 Nov 2022MITCommonJSTypes: NoneStrings and text
$ npm install string-pixel-width

Key numbers

As of 25 Sept 2026
Weekly downloads
78.9k
+207% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
3 years ago
v1.11.0
GitHub stars
107
42 forks
Open issues / PRs
6 / 16
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150k200kSept 2025Mar 2026Sept 2026High 171.1k (21 Jul 2026)Low 14.3k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

78,919 downloads last week, 389,946 in the last month. The 12-month change of +207% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.11.0, 20 Nov 20223 years ago
First published
-
Last push to GitHub
9 Aug 20231,142 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
16
Commits, last 52 weeks
0
Dependents on npm
48

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
264 kB
Dependencies (1)
lodash.deburr
npm install string-pixel-width
  • jsDelivrhttps://cdn.jsdelivr.net/npm/string-pixel-width@1.11.0/
  • unpkghttps://unpkg.com/string-pixel-width@1.11.0/
  • esm.shhttps://esm.sh/string-pixel-width@1.11.0
PackageWeekly downloadsGzipLast releaseModuleComparison
split-string11.6m-7 years agoCommonJS-
underscore.string2.4m-4 years agoCommonJS-
str2buf131.6k-8 years agoESM + CommonJS-
@stdlib/string29k-3 months agoCommonJS-
string-to-stream358.2k-7 years agoCommonJS-
is-primitive4.1m-8 years agoCommonJS-
@stdlib/string-base-trim15k-7 months agoCommonJS-
@stdlib/string-base-capitalize5.6k-7 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.