JSPM

better-strip-color

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 306
  • Score
    100M100P100Q95687F
  • License LGPL-3.0

Strip ANSI colors, attributes from a string

Package Exports

  • better-strip-color

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (better-strip-color) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.