string-width
Latest Version: v8.2.0string-width calculates the visual column width of strings for CLI and terminal tools, with 376M+ weekly npm downloads.
Owner: sindresorhus
Stars
522
GitHub star count
Last Release
1 months ago
v8.2.0
Contributors
14
N/A
Health Score
N/A
N/A
Key Features
Primary stack
JavaScript (MIT)
Community adoption
522 stars
Tech Stack
About
string-width calculates the visual column width of strings for CLI and terminal tools, with 376M+ weekly npm downloads.
string-width is auto-discovered from npm registry search and mapped to sindresorhus/string-width. Estimated npm weekly downloads for string-width: 375900792. Registry relevance score: final=1, search=43.54552. Matched npm search heuristics: keywords:cli. Metadata is enriched asynchronously by the refresh pipeline.
Analyst Note
string-width calculates the visual column width of strings for CLI and terminal tools, with 376M+ weekly npm downloads.
Best For
- Technical stack evaluation for engineering teams
- Dependency governance and upgrade planning in production systems
- Track delivery cadence and release quality from sindresorhus
- Primary stack
Not Ideal For
- Security posture signals are mixed; run additional security review before broad adoption
Typical Use Cases
Decision Snapshot
- Product type: Open Source
- Primary language: JavaScript
- Pricing model: Free
- License: MIT
- Last Release: 2/18/2026
Data Basis
- Last Sync: Mar 1, 2026, 03:02 PM
- Metrics Updated: Mar 1, 2026, 03:02 PM
- Completeness: 100%
- Last Verified: Mar 1, 2026, 03:02 PM
Data Status
Pros & Cons
Pros
- Active maintenance cadence.
Cons
- -Security posture signals are mixed; run additional security review before broad adoption