• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2const ansiRegex = require('ansi-regex');
3
4module.exports = input => typeof input === 'string' ? input.replace(ansiRegex(), '') : input;
5