gulp-colorfulkits🍭
Usage
npm i --save-dev gulp-colorfulkits
const colorful gulpColorfulEslint gulpWatchColorful watchColorful = ;
colorful(options)
gulp //Output Colorful DestLog ;
[object]options = {color, cwd, indent}
- [string]color
- ansi-colors text-color enum
- default:
cyan
- [string]cwd
- vinyl cwd
- default:
.
- [integer]indent
- indent-level
- default:
1
colorful.preset(options);
const customColorful = colorful;gulp ;
[object]options
same
gulpColorfulEslint()
gulp //like .pipe(eslint()).pipe(eslint.result())
gulpWatchColorful(glob, callback, options)
;//like gulp.watch(glob,callback)
- [string]glob
- [function]callback
- called when file changed.
- [object]options
- [boolean]ignoreDirectoryEvents
- default
true
- default
- [boolean]ignoreDirectoryEvents
watchColorful(glob)
;//like require("gulp-watch")(glob)
- [string]glob