JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 218532234
  • Score
    100M100P100Q343736F
  • License MIT

Strip ANSI escape codes

Package Exports

  • strip-ansi

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 (strip-ansi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

strip-ansi Build Status

Strip ANSI escape codes

Install

$ npm install --save strip-ansi

Usage

var stripAnsi = require('strip-ansi');

stripAnsi('\u001b[4mcake\u001b[0m');
//=> 'cake'
  • strip-ansi-cli - CLI for this module
  • has-ansi - Check if a string has ANSI escape codes
  • ansi-regex - Regular expression for matching ANSI escape codes
  • chalk - Terminal string styling done right

License

MIT © Sindre Sorhus