|
11 ماه پیش | |
---|---|---|
.. | ||
node_modules | 11 ماه پیش | |
index.js | 11 ماه پیش | |
license | 11 ماه پیش | |
package.json | 11 ماه پیش | |
readme.md | 11 ماه پیش |
Check if a string has ANSI escape codes
$ npm install --save has-ansi
var hasAnsi = require('has-ansi');
hasAnsi('\u001b[4mcake\u001b[0m');
//=> true
hasAnsi('cake');
//=> false
MIT © Sindre Sorhus