SW

string-width

Latest Version: v8.2.0

string-width calculates the visual column width of strings for CLI and terminal tools, with 376M+ weekly npm downloads.

Owner: sindresorhus

OSSauto-discoverednpmstring

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

JavaScript
auto-discovered
npm
string
character
unicode
width
visual
column
columns
fullwidth
full-width
wcwidth

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

Technical stack evaluation for engineering teamsDependency governance and upgrade planning in production systemsTrack delivery cadence and release quality from sindresorhus

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

Stale
Last SyncMar 1, 2026, 03:02 PM
Metrics UpdatedMar 1, 2026, 03:02 PM
Completeness100%
Last VerifiedMar 1, 2026, 03:02 PM

Pros & Cons

Pros

  • Active maintenance cadence.

Cons

  • -Security posture signals are mixed; run additional security review before broad adoption

All Metrics

Adoption

4/4
Stars522
Forks39
Open Issues1
Contributors14

Health

0/4
Health ScorePending
Trend ScorePending
Activity ScorePending
Reliability ScorePending

Core

3/5
Latest Versionv8.2.0
Last Release2/18/2026
Last Commit2/18/2026
StatusPending
Activity LevelPending

Security

0/1
Security ScorePending