Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
alt-nodejs6
/
root
/
lib
/
node_modules
/
npm
/
node_modules
/
ansi-regex
/
File Content:
readme.md
# ansi-regex [](https://travis-ci.org/sindresorhus/ansi-regex) > Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) ## Install ``` $ npm install --save ansi-regex ``` ## Usage ```js var ansiRegex = require('ansi-regex'); ansiRegex().test('\u001b[4mcake\u001b[0m'); //=> true ansiRegex().test('cake'); //=> false '\u001b[4mcake\u001b[0m'.match(ansiRegex()); //=> ['\u001b[4m', '\u001b[0m'] ``` ## License MIT © [Sindre Sorhus](http://sindresorhus.com)
Submit
FILE
FOLDER
Name
Size
Permission
Action
index.js
135 bytes
0644
license
1119 bytes
0644
package.json
2214 bytes
0644
readme.md
593 bytes
0644
N4ST4R_ID | Naxtarrr