FlyUp/packages/字体精简工具/node_modules/strip-ansi
2024-07-10 18:24:08 +08:00
..
index.js 增加分享 2024-07-10 18:24:08 +08:00
license 增加分享 2024-07-10 18:24:08 +08:00
package.json 增加分享 2024-07-10 18:24:08 +08:00
readme.md 增加分享 2024-07-10 18:24:08 +08: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