0.3.0 • Published 5 years ago

@yama-dev/gulp-stream-util v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

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

APIdescription
path相対パス
rootルート
dirディレクトリ
baseベース
ext拡張子
nameファイル名

Dependencies

none


For Developer

Contribution

  1. Fork it ( https://github.com/yama-dev/gulp-stream-util/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Licence

MIT

Author

yama-dev