string-width @5.1.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-width
Dependencies (3)
| Package | Constraint | Registry Status |
|---|---|---|
| strip-ansi | ^7.0.1 | auto_approved |
| emoji-regex | ^9.2.2 | auto_approved |
| eastasianwidth | ^0.2.0 | auto_approved |
Dev Dependencies (3)
| Package | Constraint | Registry Status |
|---|---|---|
| xo | ^0.38.2 | Not imported |
| ava | ^3.15.0 | auto_approved |
| tsd | ^0.14.0 | auto_approved |
Transitive Dependency Tree
4 transitive deps
max depth 2
├─
eastasianwidth
^0.2.0
→ 0.2.0
├─
emoji-regex
^9.2.2
├─
strip-ansi
^7.0.1
→ 7.2.0
├─
ansi-regex
^6.2.2
→ 6.2.2
Changes from v4.2.3
Dependency Changes
| Change | Package | Version |
|---|---|---|
| added | eastasianwidth | ^0.2.0 |
| removed | is-fullwidth-code-point | ^3.0.0 |
| changed | strip-ansi | ^6.0.1 → ^7.0.1 |
| changed | emoji-regex | ^8.0.0 → ^9.2.2 |
File Changes
0 added
0 removed
5 modified
size delta: +.6 KB
Commit: 56a47ea07ed6 Browse source
Published to npm: