minimatch
    Preparing search index...

    Interface MinimatchOptions

    interface MinimatchOptions {
        allowWindowsEscape?: boolean;
        braceExpandMax?: number;
        debug?: boolean;
        dot?: boolean;
        flipNegate?: boolean;
        magicalBraces?: boolean;
        matchBase?: boolean;
        maxExtglobRecursion?: number;
        maxGlobstarRecursion?: number;
        nobrace?: boolean;
        nocase?: boolean;
        nocaseMagicOnly?: boolean;
        nocomment?: boolean;
        noext?: boolean;
        noglobstar?: boolean;
        nonegate?: boolean;
        nonull?: boolean;
        optimizationLevel?: number;
        partial?: boolean;
        platform?: Platform;
        preserveMultipleSlashes?: boolean;
        windowsNoMagicRoot?: boolean;
        windowsPathsNoEscape?: boolean;
    }
    Index

    Properties

    allowWindowsEscape?: boolean
    braceExpandMax?: number

    max number of {...} patterns to expand. Default 100_000.

    debug?: boolean

    print LOTS of debugging output

    dot?: boolean

    allow matches that start with . even if the pattern does not

    flipNegate?: boolean

    invert the results of negated matches

    magicalBraces?: boolean

    consider braces to be "magic" for the purpose of hasMagic

    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.

    maxExtglobRecursion?: number

    Max depth to traverse for nested extglobs like *(a|b|c)

    Default is 2, which is quite low, but any higher value swiftly results in punishing performance impacts. Note that this is not relevant when the globstar types can be safely coalesced into a single set.

    For example, *(a|@(b|c)|d) would be flattened into *(a|b|c|d). Thus, many common extglobs will retain good performance and never hit this limit, even if they are excessively deep and complicated.

    If the limit is hit, then the extglob characters are simply not parsed, and the pattern effectively switches into noextglob: true mode for the contents of that nested sub-pattern. This will typically not result in a match, but is considered a valid trade-off for security and performance.

    maxGlobstarRecursion?: number

    Max number of non-adjacent ** patterns to recursively walk down.

    The default of 200 is almost certainly high enough for most purposes, and can handle absurdly excessive patterns.

    nobrace?: boolean

    do not expand {x,y} style braces

    nocase?: boolean

    ignore case

    nocaseMagicOnly?: boolean

    ignore case only in wildcard patterns

    nocomment?: boolean

    do not treat patterns starting with # as a comment

    noext?: boolean

    do not expand extglobs like +(a|b)

    noglobstar?: boolean

    treat ** the same as *

    nonegate?: boolean

    do not treat patterns starting with ! as a negation

    nonull?: boolean

    return the pattern if nothing matches

    optimizationLevel?: number

    A number indicating the level of optimization that should be done to the pattern prior to parsing and using it for matches.

    partial?: boolean

    Compare a partial path to a pattern. As long as the parts of the path that are present are not contradicted by the pattern, it will be treated as a match. This is useful in applications where you're walking through a folder structure, and don't yet have the full path, but want to ensure that you do not walk down paths that can never be a match.

    platform?: Platform

    operating system platform

    preserveMultipleSlashes?: boolean

    do not collapse multiple / into a single /

    windowsNoMagicRoot?: boolean

    When a pattern starts with a UNC path or drive letter, and in nocase:true mode, do not convert the root portions of the pattern into a case-insensitive regular expression, and instead leave them as strings.

    This is the default when the platform is win32 and nocase:true is set.

    windowsPathsNoEscape?: boolean

    treat \\ as a path separator, not an escape character