matcher-collection

WebJar for matcher-collection

License

License

ISC
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

matcher-collection
Last Version

Last Version

1.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

matcher-collection
WebJar for matcher-collection
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/stefanpenner/matcher-collection

Download matcher-collection

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/matcher-collection/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>matcher-collection</artifactId>
    <version>1.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/matcher-collection/
implementation 'org.webjars.npm:matcher-collection:1.1.2'
// https://jarcasting.com/artifacts/org.webjars.npm/matcher-collection/
implementation ("org.webjars.npm:matcher-collection:1.1.2")
'org.webjars.npm:matcher-collection:jar:1.1.2'
<dependency org="org.webjars.npm" name="matcher-collection" rev="1.1.2">
  <artifact name="matcher-collection" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='matcher-collection', version='1.1.2')
)
libraryDependencies += "org.webjars.npm" % "matcher-collection" % "1.1.2"
[org.webjars.npm/matcher-collection "1.1.2"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : minimatch jar [3.0.2,4)

Project Modules

There are no modules declared in this project.

MatcherCollection Build Status Build status

Minimatch but for collections of minimatcher matchers.

Install

yarn add matcher-collection

Examples

const MatcherCollection = require('matcher-collection')

const m = new MatcherCollection([
  'tests/',
  '**/*.js',
]);

m.match('tests/foo.js') // => true
m.match('foo.js')       // => false

m.mayContain('tests') // => true
m.mayContain('foo')   // => false

Versions

Version
1.1.2
1.0.5
1.0.0