clean-git
v2.1.0
Published
Find all git repos that are not 'clean'
Downloads
11
Maintainers
Readme
clean-git
Install
npm install clean-git
Usage
const cleanGit = require('clean-git')
cleanGit({ baseDir: '~', maxDepth: '2', ignores: ['node_modules'] })
.then(console.log)
/* =>
[ '/Users/pablopunk/repos/bashy',
'/Users/pablopunk/repos/hyper',
'/Users/pablopunk/www/gmaps', ]
*/
Contribute
Feel free to open an issue or a PR.
License
Related
CLI for this module => clean-git-cli
Author
| | | --------------------------------- | | Pablo Varela |