1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-02 12:00:03 +02:00
Files
minifyfromhtml/node_modules/strip-ansi
2019-03-29 15:56:41 +01:00
..
2018-05-05 13:54:07 +02:00
2018-05-05 13:54:07 +02:00
2019-03-29 15:56:41 +01:00
2018-05-05 13:54:07 +02:00

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