Sign in
apache
/
cordova-browser
/
01538193187f43903c2ecf40221e921279ca99b1
/
.
/
node_modules
/
strip-ansi
/
index.js
blob: 099480fbfc54cb238d6d190fda653408fbf1ef7f [
file
] [
log
] [
blame
]
'use strict'
;
var
ansiRegex
=
require
(
'ansi-regex'
)();
module
.
exports
=
function
(
str
)
{
return
typeof
str
===
'string'
?
str
.
replace
(
ansiRegex
,
''
)
:
str
;
};