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.
homestay/minsu/admin/node_modules/has-ansi
ytt 2545d38280
代码
3 months ago
..
node_modules/ansi-regex 代码 3 months ago
index.js 代码 3 months ago
license 代码 3 months ago
package.json 代码 3 months ago
readme.md 代码 3 months ago

readme.md

has-ansi Build Status

Check if a string has ANSI escape codes

Install

$ npm install --save has-ansi

Usage

var hasAnsi = require('has-ansi');

hasAnsi('\u001b[4mcake\u001b[0m');
//=> true

hasAnsi('cake');
//=> false

License

MIT © Sindre Sorhus