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