Sign in
cobalt
/
cobalt
/
0c2b1d4428f8ae16220e86a16bebd07ff691a412
/
.
/
third_party
/
devtools
/
node_modules
/
strip-ansi
/
index.js
blob: 96e0292c8e2f648c7c4f3a6172cb0a08fea222df [
file
] [
log
] [
blame
]
'use strict'
;
const
ansiRegex
=
require
(
'ansi-regex'
);
module
.
exports
=
input
=>
typeof
input
===
'string'
?
input
.
replace
(
ansiRegex
(),
''
)
:
input
;