Version: 0.1.00.1.10.2.00.2.10.2.20.3.01.0.02.0.02.0.13.0.03.0.14.0.05.0.05.1.05.2.06.0.06.0.17.0.07.0.17.1.0
import ansiRegex from 'ansi-regex';
export default function stripAnsi(string) {
if (typeof string !== 'string') {
throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
}
return string.replace(ansiRegex(), '');