prc b6c02717e6 Upload complete no-internet building environment. 1 jaar geleden
..
node_modules b6c02717e6 Upload complete no-internet building environment. 1 jaar geleden
index.js b6c02717e6 Upload complete no-internet building environment. 1 jaar geleden
license b6c02717e6 Upload complete no-internet building environment. 1 jaar geleden
package.json b6c02717e6 Upload complete no-internet building environment. 1 jaar geleden
readme.md b6c02717e6 Upload complete no-internet building environment. 1 jaar geleden

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