🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

gulp-grep-contents

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-grep-contents

Filter a gulp stream by file contents

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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'));

Keywords

gulp

FAQs

Package last updated on 14 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts