GitHub / micromatch 28 Repositories
Libraries for fast, accurate glob matching.
Donate: https://github.com/sponsors/doowb, https://github.com/sponsors/jonschlinkert
micromatch/picomatch
Blazing fast and accurate glob matcher written JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions. Used by GraphQL, Jest, Astro, Snowpack, Storybook, bulma, Serverless, fdir, Netlify, AWS Amplify, Revogrid, rollup, routify, open-wc, imba, ava, docusaurus, fast-glob, globby, chokidar, anymatch, cloudflare/miniflare, pts, and more than 5 million projects! Please follow picomatch's author: https://github.com/jonschlinkert
Language: JavaScript - Size: 851 KB - Last synced at: 1 day ago - Pushed at: about 2 months ago - Stars: 1,103 - Forks: 69

micromatch/micromatch
Highly optimized wildcard and glob matching library. Faster, drop-in replacement to minimatch and multimatch. Used by square, webpack, babel core, yarn, jest, ract-native, taro, bulma, browser-sync, stylelint, nyc, ava, and many others! Follow micromatch's author: https://github.com/jonschlinkert
Language: JavaScript - Size: 1.18 MB - Last synced at: 3 days ago - Pushed at: about 1 year ago - Stars: 2,962 - Forks: 190

micromatch/braces
Faster brace expansion for node.js. Besides being faster, braces is not subject to DoS attacks like minimatch, is more accurate, and has more complete support for Bash 4.3.
Language: JavaScript - Size: 421 KB - Last synced at: 2 days ago - Pushed at: 8 months ago - Stars: 240 - Forks: 72

micromatch/anymatch
:bangbang: Matches strings against configurable strings, globs, regular expressions, and/or functions
Language: JavaScript - Size: 91.8 KB - Last synced at: 30 days ago - Pushed at: over 2 years ago - Stars: 400 - Forks: 40

micromatch/is-glob
If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a better user experience. 55+ million downloads.
Language: JavaScript - Size: 50.8 KB - Last synced at: 30 days ago - Pushed at: over 2 years ago - Stars: 95 - Forks: 10

micromatch/to-regex-range
Pass two numbers, get a regex-compatible source string for matching ranges. Fast compiler, optimized regex, and validated against more than 2.78 million test assertions. Useful for creating regular expressions to validate numbers, ranges, years, etc.
Language: JavaScript - Size: 73.2 KB - Last synced at: 7 days ago - Pushed at: about 1 year ago - Stars: 168 - Forks: 22

micromatch/glob-fs
file globbing for node.js. speedy and powerful alternative to node-glob. This library is experimental and does not work on windows!
Language: JavaScript - Size: 104 KB - Last synced at: 1 day ago - Pushed at: over 3 years ago - Stars: 56 - Forks: 17

micromatch/posix-character-classes
POSIX character classes for creating regular expressions.
Language: JavaScript - Size: 11.7 KB - Last synced at: 17 days ago - Pushed at: over 4 years ago - Stars: 30 - Forks: 6

micromatch/nanomatch
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but without support for extended globs (extglobs), posix brackets or braces, and with complete Bash 4.3 wildcard support: ("*", "**", and "?").
Language: JavaScript - Size: 382 KB - Last synced at: 1 day ago - Pushed at: over 2 years ago - Stars: 97 - Forks: 20

micromatch/is-extglob
Returns true if a string has an extglob
Language: JavaScript - Size: 15.6 KB - Last synced at: about 1 hour ago - Pushed at: over 6 years ago - Stars: 23 - Forks: 4

micromatch/extglob
Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.
Language: JavaScript - Size: 207 KB - Last synced at: 19 days ago - Pushed at: almost 5 years ago - Stars: 32 - Forks: 11

micromatch/is-valid-glob
Return true if a value is a valid glob pattern string, or array of glob patterns.
Language: JavaScript - Size: 14.6 KB - Last synced at: 7 days ago - Pushed at: about 6 years ago - Stars: 24 - Forks: 6

micromatch/has-glob
Returns `true` if an array has a glob pattern.
Language: JavaScript - Size: 9.77 KB - Last synced at: 11 days ago - Pushed at: almost 9 years ago - Stars: 10 - Forks: 1

micromatch/expand-brackets
Expand POSIX bracket expressions (character classes) in glob patterns.
Language: JavaScript - Size: 84 KB - Last synced at: 19 days ago - Pushed at: almost 4 years ago - Stars: 27 - Forks: 10

micromatch/source-map-resolve Fork of lydell/source-map-resolve
[Maintenance-Only] Resolve the source map and/or sources for a generated file.
Language: JavaScript - Size: 134 KB - Last synced at: over 1 year ago - Pushed at: about 2 years ago - Stars: 4 - Forks: 1

micromatch/expand-braces
Wrapper for [braces] to enable brace expansion for arrays of patterns.
Language: JavaScript - Size: 12.7 KB - Last synced at: 21 days ago - Pushed at: over 1 year ago - Stars: 8 - Forks: 5

micromatch/is-posix-bracket
Returns true if the given string is a POSIX bracket expression (POSIX character class)
Language: JavaScript - Size: 7.81 KB - Last synced at: about 1 month ago - Pushed at: over 9 years ago - Stars: 13 - Forks: 2

micromatch/is-negated-glob
Returns an object with a `negated` boolean and the `!` stripped from negation patterns. Also respects extglobs.
Language: JavaScript - Size: 5.86 KB - Last synced at: 22 days ago - Pushed at: almost 9 years ago - Stars: 8 - Forks: 3

micromatch/glob-spec
Specification for glob-matching in JavaScript.
Size: 0 Bytes - Last synced at: over 1 year ago - Pushed at: almost 9 years ago - Stars: 5 - Forks: 1

micromatch/glob-base
Returns an object with the base path and the actual pattern from a glob.
Language: JavaScript - Size: 149 KB - Last synced at: about 1 month ago - Pushed at: over 8 years ago - Stars: 17 - Forks: 14

micromatch/meta
General issues, requests and discussion about micromatch libs.
Size: 0 Bytes - Last synced at: over 1 year ago - Pushed at: over 8 years ago - Stars: 1 - Forks: 1

micromatch/bash-match
Match strings using bash. Does not work on windows, and does not read from the file system. This library requires that Bash 4.3 or higher is installed and is mostly used for checking parity in unit tests.
Language: JavaScript - Size: 14.6 KB - Last synced at: 19 days ago - Pushed at: over 8 years ago - Stars: 7 - Forks: 3

micromatch/resolve-glob
Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.
Language: JavaScript - Size: 17.6 KB - Last synced at: 2 months ago - Pushed at: about 8 years ago - Stars: 5 - Forks: 1

micromatch/parse-glob
Parse a glob pattern into an object of path parts.
Language: JavaScript - Size: 52.7 KB - Last synced at: 29 days ago - Pushed at: over 5 years ago - Stars: 25 - Forks: 8

micromatch/bash-path
Get the path to the bash binary on your OS.
Language: JavaScript - Size: 11.7 KB - Last synced at: 30 days ago - Pushed at: almost 5 years ago - Stars: 7 - Forks: 3

micromatch/bash-glob
Bash-powered globbing for node.js. Alternative to node-glob. Does not work on Windows 9 and lower.
Language: JavaScript - Size: 37.1 KB - Last synced at: 19 days ago - Pushed at: about 4 years ago - Stars: 14 - Forks: 4

micromatch/.github
Default files for the .github directory of all micromatch projects.
Size: 15.6 KB - Last synced at: 5 months ago - Pushed at: almost 4 years ago - Stars: 4 - Forks: 4

micromatch/to-absolute-glob
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Language: JavaScript - Size: 28.3 KB - Last synced at: 15 days ago - Pushed at: almost 3 years ago - Stars: 18 - Forks: 11
