projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update .bashrc
[dotfiles/.git]
/
strip-ansi
/
index.js
1
'use strict';
2
const ansiRegex = require('ansi-regex');
3
4
module.exports = input => typeof input === 'string' ? input.replace(ansiRegex(), '') : input;