| | |
| | | # micromatch [](https://www.npmjs.com/package/micromatch) [](https://npmjs.org/package/micromatch) [](https://npmjs.org/package/micromatch) [](https://travis-ci.org/micromatch/micromatch) |
| | | # micromatch [](https://www.npmjs.com/package/micromatch) [](https://npmjs.org/package/micromatch) [](https://npmjs.org/package/micromatch) [](https://github.com/micromatch/micromatch/actions/workflows/test.yml) |
| | | |
| | | > Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch. |
| | | |
| | |
| | | |
| | | ## Install |
| | | |
| | | Install with [npm](https://www.npmjs.com/): |
| | | Install with [npm](https://www.npmjs.com/) (requires [Node.js](https://nodejs.org/en/) >=8.6): |
| | | |
| | | ```sh |
| | | $ npm install --save micromatch |
| | |
| | | |
| | | * Support for multiple glob patterns (no need for wrappers like multimatch) |
| | | * Wildcards (`**`, `*.js`) |
| | | * Negation (`'!a/*.js'`, `'*!(b).js']`) |
| | | * Negation (`'!a/*.js'`, `'*!(b).js'`) |
| | | * [extglobs](#extglobs) (`+(x|y)`, `!(a|b)`) |
| | | * [POSIX character classes](#posix-bracket-expressions) (`[[:alpha:][:digit:]]`) |
| | | * [brace expansion](https://github.com/micromatch/braces) (`foo/{1..5}.md`, `bar/{a,b,c}.js`) |
| | |
| | | |
| | | ```js |
| | | const mm = require('micromatch'); |
| | | const state = mm(pattern[, options]); |
| | | const state = mm.parse(pattern[, options]); |
| | | ``` |
| | | |
| | | ### [.braces](index.js#L446) |
| | |
| | | |
| | | ### Latest results |
| | | |
| | | As of April 10, 2021 (longer bars are better): |
| | | As of March 24, 2022 (longer bars are better): |
| | | |
| | | ```sh |
| | | # .makeRe star |
| | |
| | | |
| | | | **Commits** | **Contributor** | |
| | | | --- | --- | |
| | | | 508 | [jonschlinkert](https://github.com/jonschlinkert) | |
| | | | 512 | [jonschlinkert](https://github.com/jonschlinkert) | |
| | | | 12 | [es128](https://github.com/es128) | |
| | | | 9 | [danez](https://github.com/danez) | |
| | | | 8 | [doowb](https://github.com/doowb) | |
| | | | 6 | [paulmillr](https://github.com/paulmillr) | |
| | | | 5 | [mrmlnc](https://github.com/mrmlnc) | |
| | | | 4 | [danez](https://github.com/danez) | |
| | | | 3 | [DrPizza](https://github.com/DrPizza) | |
| | | | 2 | [TrySound](https://github.com/TrySound) | |
| | | | 2 | [mceIdo](https://github.com/mceIdo) | |
| | | | 2 | [Glazy](https://github.com/Glazy) | |
| | | | 2 | [MartinKolarik](https://github.com/MartinKolarik) | |
| | | | 2 | [antonyk](https://github.com/antonyk) | |
| | | | 2 | [Tvrqvoise](https://github.com/Tvrqvoise) | |
| | | | 1 | [amilajack](https://github.com/amilajack) | |
| | | | 1 | [Cslove](https://github.com/Cslove) | |
| | |
| | | | 1 | [DianeLooney](https://github.com/DianeLooney) | |
| | | | 1 | [UltCombo](https://github.com/UltCombo) | |
| | | | 1 | [frangio](https://github.com/frangio) | |
| | | | 1 | [joyceerhl](https://github.com/joyceerhl) | |
| | | | 1 | [juszczykjakub](https://github.com/juszczykjakub) | |
| | | | 1 | [muescha](https://github.com/muescha) | |
| | | | 1 | [sebdeckers](https://github.com/sebdeckers) | |
| | | | 1 | [tomByrer](https://github.com/tomByrer) | |
| | | | 1 | [fidian](https://github.com/fidian) | |
| | | | 1 | [curbengh](https://github.com/curbengh) | |
| | | | 1 | [simlu](https://github.com/simlu) | |
| | | | 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) | |
| | | | 1 | [yvele](https://github.com/yvele) | |
| | |
| | | |
| | | ### License |
| | | |
| | | Copyright © 2021, [Jon Schlinkert](https://github.com/jonschlinkert). |
| | | Copyright © 2022, [Jon Schlinkert](https://github.com/jonschlinkert). |
| | | Released under the [MIT License](LICENSE). |
| | | |
| | | *** |
| | | |
| | | _This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on April 10, 2021._ |
| | | _This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on March 24, 2022._ |