chalk/strip-ansi

The issue has been closed
[Feature Request] Add ability to only strip some ANSI codes #45
crutchcorn posted onGitHub
I'm working on a CLI E2E testing library that I would love to add the ability to "pretty print" output all of stdout
to the console when a test implementation requests.
This would include keeping ANSI codes when present, but removing the ones that would clear the screen (to help with the debug process)
Adding in the ability to pass the codes to strip would help a lot in this regard. Happy to submit a PR