Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

gulp-exclude-gitignore

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-exclude-gitignore

Gulp plugin to exclude file contained in .gitignore from the stream

latest
Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
52K
69.66%
Maintainers
5
Weekly downloads
 
Created
Source

gulp-exclude-gitignore NPM version Build Status Dependency Status Coverage percentage

Ever find yourself in a situation where you want to run a gulp plugin against every JavaScript file in your project? You do so, but then it start throwing at all your node_modules?

The usual fix is to add negative glob patterns to your gulp.src() call. Doesn't this feel verbose and tedious? There is a better way! You already have this list inside your .gitignore file, let's just use it.

Install

$ npm install --save-dev gulp-exclude-gitignore

Usage

var excludeGitignore = require('gulp-exclude-gitignore');

gulp.src('**/*.js')
  .pipe(excludeGitignore())
  .pipe(jshint());

License

ISC © Simon Boudrias

Keywords

gulp

FAQs

Package last updated on 02 Sep 2017

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