feige
2025-01-16 0bed59a7c83975e466e31aa2fa14d8ee15473813
1
2
3
4
5
6
'use strict';
var ansiRegex = require('ansi-regex')();
 
module.exports = function (str) {
    return typeof str === 'string' ? str.replace(ansiRegex, '') : str;
};