1
hao
2025-05-19 8ef9c48b03ec22db9a56746f898993cb41eb4753
1
2
3
4
'use strict';
const ansiRegex = require('ansi-regex');
 
module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;