Interface IMinimatchOptions

A minimal matching utility options.

This is the matching library used internally by npm. Eventually, it will replace the C binding in node-glob. It works by converting glob expressions into JavaScript RegExp objects.

Hierarchy

Index

Properties

Properties

optional public debug?: boolean

Dump a ton of stuff to stderr.

optional public dot?: boolean

Allow patterns to match filenames starting with a period, even if the pattern does not explicitly have a period in that spot.

optional public flipNegate?: boolean

Returns from negate expressions the same as if they were not negated. (Ie, true on a hit, false on a miss.)

optional public matchBase?: boolean

If set, then patterns without slashes will be matched against the basename of the path if it contains slashes. For example, a?b would match the path /xyz/123/acb, but not /xyz/acb/123.

optional public nobrace?: boolean

Do not expand {a,b} and {1..3} brace sets.

optional public nocase?: boolean

Perform a case-insensitive match.

optional public nocomment?: boolean

Suppress the behavior of treating # at the start of a pattern as a comment.

optional public noext?: boolean

Disable "extglob" style patterns like +(a|b).

optional public noglobstar?: boolean

Disable ** matching against multiple folder names.

optional public nonegate?: boolean

Suppress the behavior of treating a leading ! character as negation.

optional public nonull?: boolean

When a match is not found by minimatch.match, return a list containing the pattern itself. When set, an empty list is returned if there are no matches.