projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
099480fbfc54cb238d6d190fda653408fbf1ef7f
[yaffs-website]
/
index.js
1
'use strict';
2
var ansiRegex = require('ansi-regex')();
3
4
module.exports = function (str) {
5
return typeof str === 'string' ? str.replace(ansiRegex, '') : str;
6
};