Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18K
decreased by-3.39%
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc