diff options
Diffstat (limited to 'node_modules/strip-ansi/index.js')
-rw-r--r-- | node_modules/strip-ansi/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/strip-ansi/index.js b/node_modules/strip-ansi/index.js new file mode 100644 index 0000000..9a593df --- /dev/null +++ b/node_modules/strip-ansi/index.js @@ -0,0 +1,4 @@ +'use strict'; +const ansiRegex = require('ansi-regex'); + +module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string; |