string-width @6.0.0
MIT
License
No
Install Scripts
3
Dependencies
3
Dev Dependencies
2.4 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 | ^10.2.1 | auto_approved |
| eastasianwidth | ^0.2.0 | auto_approved |
Dev Dependencies (3)
| Package | Constraint | Registry Status |
|---|---|---|
| xo | ^0.54.2 | Not imported |
| ava | ^5.2.0 | auto_approved |
| tsd | ^0.28.1 | auto_approved |
Transitive Dependency Tree
4 transitive deps
max depth 2
├─
eastasianwidth
^0.2.0
→ 0.2.0
├─
emoji-regex
^10.2.1
→ 10.6.0
├─
strip-ansi
^7.0.1
→ 7.2.0
├─
ansi-regex
^6.2.2
→ 6.2.2
Changes from v5.1.2
Dependency Changes
| Change | Package | Version |
|---|---|---|
| changed | emoji-regex | ^9.2.2 → ^10.2.1 |
File Changes
0 added
0 removed
4 modified
size delta: +.2 KB
Commit: 102c82c1e36b Browse source
Published to npm: