All string-width versions

string-width @4.0.0

MIT
License
No
Install Scripts
3
Dependencies
3
Dev Dependencies
2.1 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-width

Dependencies (3)

PackageConstraintRegistry Status
strip-ansi ^5.1.0 auto_approved
emoji-regex ^8.0.0 auto_approved
is-fullwidth-code-point ^3.0.0 auto_approved

Dev Dependencies (3)

PackageConstraintRegistry Status
xo ^0.24.0 Not imported
ava ^1.3.1 auto_approved
tsd-check ^0.5.0 Not imported

Transitive Dependency Tree

4 transitive deps max depth 2
  ├─ emoji-regex ^8.0.0
  ├─ is-fullwidth-code-point ^3.0.0
├─ strip-ansi ^5.1.0 → 5.2.0
  ├─ ansi-regex ^4.1.0 → 4.1.1

Changes from v3.1.0

Dependency Changes

ChangePackageVersion
changed emoji-regex ^7.0.1 → ^8.0.0
changed is-fullwidth-code-point ^2.0.0 → ^3.0.0

File Changes

1 added 0 removed 3 modified size delta: +.6 KB

Commit: 2ca2bc7443a6 Browse source

Published to npm: