string-width @2.0.0
MIT
License
No
Install Scripts
2
Dependencies
2
Dev Dependencies
2.0 KB
Package Size
Published
Get the visual width of a string - the number of columns required to display it
Maintainers
sindresorhus
Keywords
stringstrcharactercharunicodewidthvisualcolumncolumnsfullwidthfull-widthfullansiescapecodesclicommand-lineterminalconsolecjkchinesejapanesekoreanfixed-width
Dependencies (2)
| Package | Constraint | Registry Status |
|---|---|---|
| strip-ansi | ^3.0.0 | auto_approved |
| is-fullwidth-code-point | ^2.0.0 | auto_approved |
Transitive Dependency Tree
3 transitive deps
max depth 2
├─
is-fullwidth-code-point
^2.0.0
├─
strip-ansi
^3.0.0
→ 3.0.1
├─
ansi-regex
^2.0.0
→ 2.1.1
Changes from v1.0.2
Dependency Changes
| Change | Package | Version |
|---|---|---|
| removed | code-point-at | ^1.0.0 |
| changed | is-fullwidth-code-point | ^1.0.0 → ^2.0.0 |
File Changes
0 added
0 removed
2 modified
size delta: -.1 KB
Commit: 523d7ba4dbb2 Browse source
Published to npm: