Files
enviPy-bayer/static/js/ketcher2/node_modules/has-ansi
2025-06-23 20:13:54 +02:00
..
2025-06-23 20:13:54 +02:00
2025-06-23 20:13:54 +02:00
2025-06-23 20:13:54 +02:00
2025-06-23 20:13:54 +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