cli-truncate @2.1.0
MIT
License
No
Install Scripts
2
Dependencies
3
Dev Dependencies
3.4 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 | ^3.0.0 | auto_approved |
| string-width | ^4.2.0 | auto_approved |
Dev Dependencies (3)
| Package | Constraint | Registry Status |
|---|---|---|
| xo | ^0.25.3 | Not imported |
| ava | ^2.1.0 | auto_approved |
| tsd | ^0.11.0 | auto_approved |
Transitive Dependency Tree
9 transitive deps
max depth 3
├─
slice-ansi
^3.0.0
→ 3.0.0
├─
string-width
^4.2.0
→ 4.2.3
├─
ansi-styles
^4.0.0
→ 4.3.0
├─
astral-regex
^2.0.0
→ 2.0.0
├─
emoji-regex
^8.0.0
├─
is-fullwidth-code-point
^3.0.0
→ 3.0.0
├─
is-fullwidth-code-point
^3.0.0
├─
strip-ansi
^6.0.1
→ 6.0.1
├─
ansi-regex
^5.0.1
→ 5.0.1
├─
color-convert
^2.0.1
Commit: 2f422c146701 Browse source
Published to npm: