New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

glob-ignore

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glob-ignore

Match files using the patterns the shell uses, like stars and stuff.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
67
decreased by-74.81%
Maintainers
1
Weekly downloads
 
Created
Source

glob-ignore

Greenkeeper badge NPM downloads Build Status Build Status Codacy Coverage Codacy Grade Dependencies Dev-dependencies JavaScript Style Guide

Match files using the patterns the shell uses, like stars and stuff.

Install

$ npm install --save glob-ignore

Usage

const glob = require('glob-ignore');

// same usage as node-glob
glob('**', function(err, res) {            // async
  if(err) throw err;
  console.log(res);
});

glob('**');                                // sync

glob('**', 'dir/to/filter/**');            // the second arg is a filter
glob(['a/**', 'b/**'], ['c/**', 'd/**']);  // multiple patterns are allowed 

Test and coverage

You just have to clone the repo and run

$ npm test
$ npm run coverage

License

MIT © Léo Lozach

Keywords

FAQs

Package last updated on 05 Apr 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