Sign in
cobalt
/
cobalt
/
e83fce97d7405b0b5e569d961aa431b1112ac6ac
/
.
/
src
/
third_party
/
devtools
/
node_modules
/
inquirer
/
node_modules
/
strip-ansi
/
index.js
blob: 9788c96dfa3b0cc62b8bbb0356924b115714a749 [
file
] [
log
] [
blame
]
'use strict'
;
const
ansiRegex
=
require
(
'ansi-regex'
);
const
stripAnsi
=
string
=>
typeof
string
===
'string'
?
string
.
replace
(
ansiRegex
(),
''
)
:
string
;
module
.
exports
=
stripAnsi
;
module
.
exports
.
default
=
stripAnsi
;