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.
mahesh bhanushali 0dc54e9130
REST API
7 years ago
..
node_modules/ansi-regex REST API 7 years ago
index.js REST API 7 years ago
license REST API 7 years ago
package.json REST API 7 years ago
readme.md REST API 7 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