Current Path : /lib/node_modules/npm/node_modules/cliui/node_modules/strip-ansi/ |
Current File : //lib/node_modules/npm/node_modules/cliui/node_modules/strip-ansi/index.js |
'use strict'; const ansiRegex = require('ansi-regex'); const stripAnsi = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string; module.exports = stripAnsi; module.exports.default = stripAnsi;