minimatch-ex

0.1.0 • Public • Published

minimatch-ex npm

Build Status Code Climate Test Coverage downloads license

The minimatch extend to support the multi-patterns and negative pattern.

    • matches any number of characters, but not /
  • ? matches a single character, but not /
  • ** matches any number of characters, including /, as long as it's the only thing in a path part
  • {} allows for a comma-separated list of "or" expressions
  • ! at the beginning of a pattern will negate the match

Usage

var minimatch  = require('minimatch-ex')
 
minimatch('foo.bar', ['*', '*.b*', '!.ignore'])

API

TODO

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i minimatch-ex

Weekly Downloads

3

Version

0.1.0

License

MIT

Last publish

Collaborators

  • riceball