dotfiles/.vscode/extensions/saviorisdead.RustyCode-0.18.0/node_modules/has-ansi/readme.md
Cyryl Płotnicki 2f946d6200 Add .vscode
2016-09-11 10:29:13 +02:00

856 B

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