gulp-count-stat
gulp plugin to show countings on words or characters of files
Install
npm install --save-dev gulp-count-stat
Usage
var gulp = ;var countStat = ; gulp; gulp;
NOTICE: Make sure return
is in your gulp task. Otherwise you will get no output.
countStat(options = {})
options
Key | Type | Description | Default |
---|---|---|---|
words |
Boolean | If false , omits countings of words from output |
true |
chars |
Boolean | If false , omits countings of characters from output |
true |
showFile |
Boolean | If false , omits countings on files from output |
true |
showDir |
Boolean | If false , omits countings on directories from output |
true |
showTotal |
Boolean | If false , omits total countings from output |
true |
tree |
Boolean | If false , show countings in simple list (not tree) |
true |
Testing
npm test
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT (See LICENSE)