0.3.0 • Published 7 years ago
@yama-dev/gulp-stream-util v0.3.0
GULP STREAM UTIL.
Feature
Using
NPM Usage
# install npm.
npm install --save-dev @yama-dev/gulp-stream-util// require.
const streamUtil = require('@yama-dev/gulp-stream-util');Basic Usage
// require.
const streamUtil = require('@yama-dev/gulp-stream-util');
gulp.task('templates', function(){
  gulp.src(['file.txt'])
    .pipe(streamUtil(function(){
      console.log(this);
    }))
    .pipe(gulp.dest('build/'));
});API
| API | description | 
|---|---|
| path | 相対パス | 
| root | ルート | 
| dir | ディレクトリ | 
| base | ベース | 
| ext | 拡張子 | 
| name | ファイル名 | 
Dependencies
none
For Developer
Contribution
- Fork it ( https://github.com/yama-dev/gulp-stream-util/fork )
 - 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)
 - Create new Pull Request