Sign in
cobalt
/
cobalt
/
4db9f13a160f367210321ab353f1fd251699bffb
/
.
/
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
;