Bachir Soussi Chiadmi ac58a24f5c added bower, gulp 7 rokov pred
..
index.js ac58a24f5c added bower, gulp 7 rokov pred
license ac58a24f5c added bower, gulp 7 rokov pred
package.json ac58a24f5c added bower, gulp 7 rokov pred
readme.md ac58a24f5c added bower, gulp 7 rokov pred

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

Related

License

MIT © Sindre Sorhus