gulp-grep-contents

0.0.1 • Public • Published

gulp-grep-contents

Gulp plugin for filtering files based on a regular expression matching their contents.

Usage

var grepContents = require('gulp-grep-contents');
 
gulp.src(['./templates/*.hbs'])
  .pipe(grepContents(/<head>/))
  .pipe(gulp.dest('./headers'));

Inverted

var grepContents = require('gulp-grep-contents');
 
gulp.src(['./templates/*.hbs'])
  .pipe(grepContents(/<head>/, {inverted: true}))
  .pipe(gulp.dest('./body'));

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    33
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    33

Package Sidebar

Install

npm i gulp-grep-contents

Weekly Downloads

33

Version

0.0.1

License

MIT

Last publish

Collaborators

  • myrosalvdorykevych
  • asiaomelianenko
  • alan-hadyk
  • leonardo-mixmax
  • vadymtemchenko
  • dmytro.prysiazhnyi
  • laszlovaspal
  • akashbhalla
  • hishank
  • oleksii.mandrichenko
  • danyloderkach
  • sergey.polyarush
  • jordins
  • eugene.safronov.dewais
  • gusth-sa
  • joneslloyd
  • kamilgruszka
  • tharindu-wj
  • njogz
  • aminao
  • enuma
  • adriandmitroca
  • mixmaxkristina
  • corridonimatias
  • mikusd
  • mixmax_it
  • andra.lazariuc
  • danaya
  • adborroto
  • aaavakian
  • dnechay
  • raphaelbs
  • guilhermemj
  • eduard.borges
  • mixmax-codeship
  • bradvogel
  • jessem3
  • jsalvata
  • gabriel-mixmax