aboutsummaryrefslogtreecommitdiff
path: root/node_modules/strip-ansi/index.js
blob: 96e0292c8e2f648c7c4f3a6172cb0a08fea222df (plain)
1
2
3
4
'use strict';
const ansiRegex = require('ansi-regex');

module.exports = input => typeof input === 'string' ? input.replace(ansiRegex(), '') : input;