Install
string-width
Get the visual width of a string - the number of columns required to display it
9.0.0Latest, 11 Nov 2026
3.1BDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
533Stars
3.9/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- The mysterious supply chain concern of string-width-cjs npm package dev.to, 3 Oct 2024
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.