Files
red_de_investigacion_front/node_modules/has-ansi
DanielRamirezGe 5eecfbf6cd first commit
2020-01-14 20:43:08 -06:00
..
2020-01-14 20:43:08 -06:00
2020-01-14 20:43:08 -06:00
2020-01-14 20:43:08 -06:00
2020-01-14 20:43:08 -06:00
2020-01-14 20:43:08 -06:00

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