2.1.0 • Published 7 years ago
clean-git v2.1.0
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 |