All widest-line versions

widest-line @3.1.0

MIT
License
No
Install Scripts
1
Dependencies
3
Dev Dependencies
1.9 KB
Package Size
Published

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

Maintainers

sindresorhus

Keywords

stringcharacterunicodewidthvisualcolumncolumnsfullwidthfull-widthfullansiescapecodesclicommand-lineterminalconsolecjkchinesejapanesekoreanfixed-width

Dependencies (1)

PackageConstraintRegistry Status
string-width ^4.0.0 auto_approved

Dev Dependencies (3)

PackageConstraintRegistry Status
xo ^0.24.0 No greenflagged match
ava ^1.4.1 auto_approved
tsd ^0.7.1 auto_approved

Transitive Dependency Tree

5 transitive deps max depth 3
├─ string-width ^4.0.0 → 4.2.3
  ├─ emoji-regex ^8.0.0
  ├─ is-fullwidth-code-point ^3.0.0
├─ strip-ansi ^6.0.1 → 6.0.1
  ├─ ansi-regex ^5.0.1 → 5.0.1

Commit: 694ebd1a633a Browse source

Published to npm: