cli-truncate @4.0.0
MIT
License
No
Install Scripts
2
Dependencies
3
Dev Dependencies
3.2 KB
Package Size
Published
Truncate a string to a specific width in the terminal
Maintainers
sindresorhus
Keywords
truncateellipsistextlimitslicecliterminaltermshellwidthansistring
Dependencies (2)
| Package | Constraint | Registry Status |
|---|---|---|
| slice-ansi | ^5.0.0 | auto_approved |
| string-width | ^7.0.0 | auto_approved |
Dev Dependencies (3)
| Package | Constraint | Registry Status |
|---|---|---|
| xo | ^0.56.0 | No greenflagged match |
| ava | ^5.3.1 | auto_approved |
| tsd | ^0.29.0 | auto_approved |
Transitive Dependency Tree
8 transitive deps
max depth 3
├─
slice-ansi
^5.0.0
→ 5.0.0
├─
string-width
^7.0.0
→ 7.2.0
├─
ansi-styles
^6.0.0
→ 6.2.3
├─
emoji-regex
^10.3.0
├─
get-east-asian-width
^1.0.0
→ 1.5.0
├─
is-fullwidth-code-point
^4.0.0
→ 4.0.0
├─
strip-ansi
^7.1.0
→ 7.2.0
├─
ansi-regex
^6.2.2
→ 6.2.2
Changes from v3.1.0
Dependency Changes
| Change | Package | Version |
|---|---|---|
| changed | string-width | ^5.0.0 → ^7.0.0 |
File Changes
0 added
0 removed
4 modified
size delta: -.5 KB
Commit: 7080bf23f18e Browse source
Published to npm: