npm package
Homewcwidth
wcwidth is a JavaScript port of the C functions wcwidth() and wcswidth(), which determine the number of columns needed to represent wide-character strings. It is useful for applications that need to handle text display accurately, especially for languages with wide characters. This package fits well in applications that require precise text rendering.
- lurq health score
- 39/100
- Confidence
- unproven
- Weekly downloads
- 35,391,998
- Latest version
- 1.0.1
- Last release
- May 30, 2016
- License
- MIT
Should you depend on wcwidth?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks wcwidth at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading wcwidth
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 0.0.0 → 1.0.1diff ready
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 20, 2026; this page refreshes every 168 hours. Source repository.