AlkantarClanX12

Your IP : 18.217.207.112


Current Path : /proc/thread-self/root/opt/alt/alt-nodejs10/root/lib/node_modules/npm/lib/utils/
Upload File :
Current File : //proc/thread-self/root/opt/alt/alt-nodejs10/root/lib/node_modules/npm/lib/utils/ansi-trim.js

function ansiTrim (str) {
  var r = new RegExp('\x1b(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|' +
        '\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)', 'g')
  return str.replace(r, '')
}

module.exports = ansiTrim