Front end of the Slack clone application.
jpsp91 07dd8af64f root page set 6 years ago
..
index.js root page set 6 years ago
license root page set 6 years ago
package.json root page set 6 years ago
readme.md root page set 6 years 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

Related

License

MIT © Sindre Sorhus