string-width @3.1.0
MIT
License
No
Install Scripts
3
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 (3)
| Package | Constraint | Registry Status |
|---|---|---|
| strip-ansi | ^5.1.0 | auto_approved |
| emoji-regex | ^7.0.1 | auto_approved |
| is-fullwidth-code-point | ^2.0.0 | auto_approved |
Dev Dependencies (2)
| Package | Constraint | Registry Status |
|---|---|---|
| xo | ^0.23.0 | Not imported |
| ava | ^1.0.1 | auto_approved |
Transitive Dependency Tree
4 transitive deps
max depth 2
├─
emoji-regex
^7.0.1
├─
is-fullwidth-code-point
^2.0.0
├─
strip-ansi
^5.1.0
→ 5.2.0
├─
ansi-regex
^4.1.0
→ 4.1.1
Changes from v3.0.0
Dependency Changes
| Change | Package | Version |
|---|---|---|
| changed | strip-ansi | ^5.0.0 → ^5.1.0 |
File Changes
0 added
0 removed
2 modified
size delta: +.1 KB
Commit: 3b3da68dfea8 Browse source
Published to npm: