https://github.com/cmstead/globmatcher
Performs pattern matches on strings using glob-style patterns
https://github.com/cmstead/globmatcher
Last synced: 8 months ago
JSON representation
Performs pattern matches on strings using glob-style patterns
- Host: GitHub
- URL: https://github.com/cmstead/globmatcher
- Owner: cmstead
- Created: 2016-03-31T20:16:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-31T20:33:42.000Z (about 10 years ago)
- Last Synced: 2025-03-12T05:17:23.275Z (over 1 year ago)
- Language: JavaScript
- Size: 447 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Glob Matcher
============
A pattern matching library using glob-style patterns. This is intended to allow for post-collection file
lists which need to be filtered inline.
## Methods
- buildMatcher - glob:String => value:String => Boolean
- check - glob:String, value:String => Boolean
- checkArray - glob:String, values:Array[String] => Boolean
- checkGlobArray - globs:Array[String], value:String => Boolean
- globToPattern - glob:String => RegExp