projecte_ionic/node_modules/has-ansi/readme.md
2022-02-09 18:30:03 +01:00

856 B
Executable file

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