slice-ansi
Use slice-ansi@^9.0.0 to slice ANSI-styled strings by visible-column positions while preserving ANSI codes and grapheme clusters.
A skill is written against one major of its package, because a major is where the shape changes. Pick the line that matches your lockfile.
| Line | For | Verified |
|---|---|---|
| 9.x | slice-ansi@9.0.0 |
2026-09-08, 6 examples |