Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Erik Römmelt d20e8a9d10 Fix EsLint Brackets (error markup 'const'). 6 years ago
..
index.js Fix EsLint Brackets (error markup 'const'). 6 years ago
license Fix EsLint Brackets (error markup 'const'). 6 years ago
package.json Fix EsLint Brackets (error markup 'const'). 6 years ago
readme.md Fix EsLint Brackets (error markup 'const'). 6 years ago

readme.md

strip-ansi Build Status

Strip ANSI escape codes

Install

$ npm install strip-ansi

Usage

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

stripAnsi('\u001B[4mUnicorn\u001B[0m');
//=> 'Unicorn'
  • 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

Maintainers

License

MIT