cli-truncate @6.0.0
MIT
License
No
Install Scripts
2
Dependencies
3
Dev Dependencies
3.8 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 | ^9.0.0 | auto_approved |
| string-width | ^8.2.0 | auto_approved |
Dev Dependencies (3)
| Package | Constraint | Registry Status |
|---|---|---|
| xo | ^2.0.2 | Not imported |
| ava | ^7.0.0 | auto_approved |
| tsd | ^0.33.0 | auto_approved |
Transitive Dependency Tree
7 transitive deps
max depth 3
├─
slice-ansi
^9.0.0
→ 9.0.0
├─
string-width
^8.2.0
→ 8.2.1
├─
ansi-styles
^6.2.3
→ 6.2.3
├─
get-east-asian-width
^1.5.0
→ 1.5.0
├─
is-fullwidth-code-point
^5.1.0
→ 5.1.0
├─
strip-ansi
^7.1.2
→ 7.2.0
├─
ansi-regex
^6.2.2
→ 6.2.2
├─
get-east-asian-width
^1.3.1
→ 1.5.0
Commit: 7a4610b1ca9f Browse source
Published to npm: