Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

minimatch-all

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

minimatch-all

Match a path against multiple patterns

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11K
increased by8.73%
Maintainers
1
Weekly downloads
 
Created
Source

minimatch-all

Build Status

minimatch a path against multiple patterns.

Install

npm install minimatch-all

Usage

var minimatchAll = require('minimatch-all');

// minimatch options (see <https://www.npmjs.org/package/minimatch> for details)
var opts = {};

var patterns = [
  // match all js files
  '**/*.js',

  // except for js files in the foo/ directory
  '!foo/*.js',

  // unless it's foo/bar.js
  'foo/bar.js',
];

minimatchAll('foo/foo.js', patterns, opts);
// false

minimatchAll('foo/bar.js', patterns, opts);
// true

License

MIT

Keywords

FAQs

Package last updated on 30 Aug 2016

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