codeMan f03f940133 2023-6-20 2 anni fa
..
index.js f03f940133 2023-6-20 2 anni fa
license f03f940133 2023-6-20 2 anni fa
package.json f03f940133 2023-6-20 2 anni fa
readme.md f03f940133 2023-6-20 2 anni fa

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