Blame view

node_modules/strip-ansi/index.js 161 Bytes
2a09d1a4   liuqimichale   添加宜春 天水 宣化
1
2
3
4
5
6
  'use strict';
  var ansiRegex = require('ansi-regex')();
  
  module.exports = function (str) {
  	return typeof str === 'string' ? str.replace(ansiRegex, '') : str;
  };