yz3456
2024-07-05 48846dab1d7748fe4a55b84c9a32f542bb9b1856
1
2
3
4
'use strict';
const ansiRegex = require('ansi-regex');
 
module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;