• File: index.js
  • Full Path: /home6/laduliya/test.mydthpay.com/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/index.js
  • Date Modified: 10/26/1985 11:45 AM
  • File size: 220 bytes
  • MIME-type: text/plain
  • Charset: utf-8
'use strict';
const ansiRegex = require('ansi-regex');

const stripAnsi = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;

module.exports = stripAnsi;
module.exports.default = stripAnsi;