/gulp-stream-util

Primary LanguageJavaScriptMIT LicenseMIT

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

  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