Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
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
;