@yama-dev/gulp-stream-util

0.3.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @yama-dev/gulp-stream-util

Weekly Downloads

2

Version

0.3.0

License

MIT

Unpacked Size

4.2 kB

Total Files

4

Last publish

Collaborators

  • yama-dev