← Home

widest-line

Get the visual width of the widest line in a string - the number of columns required to display it

2
Versions
MIT
License
No
Install Scripts
Missing
Provenance

Supply chain provenance

Status for the latest visible version.

No SLSA provenance npm registry signatures gitHead linked

Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.

Maintainers

sindresorhus

Keywords

stringcharacterunicodewidthvisualcolumncolumnsfullwidthfull-widthfullansiescapecodesclicommand-lineterminalconsolecjkchinesejapanesekoreanfixed-width

Versions (showing 2 of 2)

Version Deps Published
6.0.0 1 / 2
3.1.0 1 / 3