• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2var ansiRegex = require('ansi-regex')();
3
4module.exports = function (str) {
5	return typeof str === 'string' ? str.replace(ansiRegex, '') : str;
6};
7