1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-02 12:00:03 +02:00
Files
minifyfromhtml/node_modules/has-ansi
2019-03-29 15:56:41 +01:00
..
2018-05-05 13:54:07 +02:00
2018-05-05 13:54:07 +02:00
2019-03-29 15:56:41 +01:00
2018-05-05 13:54:07 +02: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