slice-ansi @2.0.0
MIT
License
No
Install Scripts
3
Dependencies
5
Dev Dependencies
2.3 KB
Package Size
Published
Slice a string with ANSI escape codes
Maintainers
qixsindresorhus
Keywords
slicestringansistylescolorcolourcolorsterminalconsoleclittyescapeformattingrgb256shellxtermlogloggingcommand-linetext
Dependencies (3)
| Package | Constraint | Registry Status |
|---|---|---|
| ansi-styles | ^3.2.0 | auto_approved |
| astral-regex | ^1.0.0 | auto_approved |
| is-fullwidth-code-point | ^2.0.0 | auto_approved |
Dev Dependencies (5)
| Package | Constraint | Registry Status |
|---|---|---|
| xo | ^0.23.0 | Not imported |
| ava | ^0.25.0 | auto_approved |
| chalk | ^2.0.1 | auto_approved |
| strip-ansi | ^5.0.0 | auto_approved |
| random-item | ^1.0.0 | Not imported |
Transitive Dependency Tree
5 transitive deps
max depth 3
├─
ansi-styles
^3.2.0
→ 3.2.1
├─
astral-regex
^1.0.0
→ 1.0.0
├─
is-fullwidth-code-point
^2.0.0
→ 2.0.0
├─
color-convert
^1.9.0
→ 1.9.3
├─
color-name
1.1.3
→ 1.1.3
Changes from v1.0.0
Dependency Changes
| Change | Package | Version |
|---|---|---|
| added | ansi-styles | ^3.2.0 |
| added | astral-regex | ^1.0.0 |
File Changes
0 added
0 removed
3 modified
size delta: -.4 KB
Commit: a18333d0409b Browse source
Published to npm: