better-strip-color

Strip ANSI colors, attributes from a string

Usage no npm install needed!

<script type="module">
  import betterStripColor from 'https://cdn.skypack.dev/better-strip-color';
</script>

README

better-strip-color

Strip ansi colors, attributes from a string.

Install

Install with npm or pnpm

$ npm i better-strip-color
$ pnpm i better-strip-color

Usage

const strip = require("better-strip-color");
const strippedString = strip(ANSIString);

License

Released under the LGPL-3.0 license.