minimatch-list
Match a single string against a list of patterns, using issac's minimatch library.
Usage
var minimatchList = var patterns = '*hurp' '**durp**' 'foobar'console // trueconsole // false
API
minimatch-list(path, patternList, options)
path
String - a string to matchpatternList
Array - list of patterns to match againstoptions
Object - hash of options that will be passed tominimatch
.
It uses minimatch
in the background, so check there for more info.