I needed to make another ANSI library - this does the equivalent of a native array.slice() in JS, however, it safely handles ANSI escape codes so you don't slice half-way into an escape code or have the wrong length on your slice due to hidden characters.
I'd like to move this repo into the chalk organization, which seems like a better home for it.
@Qix- @sindresorhus
I needed to make another ANSI library - this does the equivalent of a native
array.slice()
in JS, however, it safely handles ANSI escape codes so you don't slice half-way into an escape code or have the wrong length on your slice due to hidden characters.I'd like to move this repo into the
chalk
organization, which seems like a better home for it.This okay with you guys?