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