All string-width versions

string-width @7.0.0

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

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

Maintainers

sindresorhus

Keywords

stringcharacterunicodewidthvisualcolumncolumnsfullwidthfull-widthfullansiescapecodesclicommand-lineterminalconsolecjkchinesejapanesekoreanfixed-widtheast-asian-width

Dependencies (3)

PackageConstraintRegistry Status
strip-ansi ^7.1.0 auto_approved
emoji-regex ^10.3.0 auto_approved
get-east-asian-width ^1.0.0 auto_approved

Dev Dependencies (3)

PackageConstraintRegistry Status
xo ^0.56.0 Not imported
ava ^5.3.1 auto_approved
tsd ^0.29.0 auto_approved

Transitive Dependency Tree

4 transitive deps max depth 2
  ├─ emoji-regex ^10.3.0
  ├─ get-east-asian-width ^1.0.0 → 1.5.0
├─ strip-ansi ^7.1.0 → 7.2.0
  ├─ ansi-regex ^6.2.2 → 6.2.2

Changes from v6.1.0

Dependency Changes

ChangePackageVersion
added get-east-asian-width ^1.0.0
removed eastasianwidth ^0.2.0
changed strip-ansi ^7.0.1 → ^7.1.0
changed emoji-regex ^10.2.1 → ^10.3.0

File Changes

0 added 0 removed 4 modified size delta: +.7 KB

Commit: 210a997cbee0 Browse source

Published to npm: