api documentation for micromatch (v2.3.11)

Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.

table of contents

  1. module micromatch
    1. function micromatch (files, patterns, opts)
    2. function micromatch.any (fp, patterns, opts)
    3. function micromatch.braceExpand (str, options)
    4. function micromatch.braces (str, options)
    5. function micromatch.contains (fp, pattern, opts)
    6. function micromatch.expand (pattern, options)
    7. function micromatch.filter (patterns, opts)
    8. function micromatch.glob (pattern, options)
    9. function micromatch.isMatch (fp, pattern, opts)
    10. function micromatch.makeRe (glob, opts)
    11. function micromatch.match (files, pattern, opts)
    12. function micromatch.matchKeys (obj, glob, options)
    13. function micromatch.matcher (pattern, opts)
    14. object micromatch.glob.prototype
    15. object micromatch.utils
  2. module micromatch.glob
    1. function micromatch.glob (pattern, options)
  3. module micromatch.glob.prototype
    1. function micromatch.glob.prototype._replace (a, b, escape)
    2. function micromatch.glob.prototype.braces ()
    3. function micromatch.glob.prototype.brackets ()
    4. function micromatch.glob.prototype.escape (str)
    5. function micromatch.glob.prototype.extglob ()
    6. function micromatch.glob.prototype.init (pattern)
    7. function micromatch.glob.prototype.isNegated ()
    8. function micromatch.glob.prototype.parse (pattern)
    9. function micromatch.glob.prototype.track (msg)
    10. function micromatch.glob.prototype.unescape (str)
  4. module micromatch.utils
    1. function micromatch.utils.arrayify (val)
    2. function micromatch.utils.braces (str, options)
    3. function micromatch.utils.brackets (str)
    4. function micromatch.utils.cache (fn, str, opts)
    5. function micromatch.utils.diff (arr, arrays)
    6. function micromatch.utils.escapePath (fp)
    7. function micromatch.utils.escapeRe (str)
    8. function micromatch.utils.extglob (str, opts)
    9. function micromatch.utils.filename (fp)
    10. function micromatch.utils.hasFilename (re)
    11. function micromatch.utils.hasPath (pattern, opts)
    12. function micromatch.utils.isExtglob (str)
    13. function micromatch.utils.isGlob (str)
    14. function micromatch.utils.isPath (pattern, opts)
    15. function micromatch.utils.matchPath (pattern, opts)
    16. function micromatch.utils.normalize (str, stripTrailing)
    17. function micromatch.utils.omit (obj, keys)
    18. function micromatch.utils.parseGlob (glob)
    19. function micromatch.utils.typeOf (val)
    20. function micromatch.utils.unescapeGlob (fp)
    21. function micromatch.utils.unique (arr)
    22. function micromatch.utils.unixify (fp, opts)

module micromatch

function micromatch (files, patterns, opts)

function micromatch.any (fp, patterns, opts)

function micromatch.braceExpand (str, options)

function micromatch.braces (str, options)

function micromatch.contains (fp, pattern, opts)

function micromatch.expand (pattern, options)

function micromatch.filter (patterns, opts)

function micromatch.glob (pattern, options)

function micromatch.isMatch (fp, pattern, opts)

function micromatch.makeRe (glob, opts)

function micromatch.match (files, pattern, opts)

function micromatch.matchKeys (obj, glob, options)

function micromatch.matcher (pattern, opts)

module micromatch.glob

function micromatch.glob (pattern, options)

module micromatch.glob.prototype

function micromatch.glob.prototype._replace (a, b, escape)

function micromatch.glob.prototype.braces ()

function micromatch.glob.prototype.brackets ()

function micromatch.glob.prototype.escape (str)

function micromatch.glob.prototype.extglob ()

function micromatch.glob.prototype.init (pattern)

function micromatch.glob.prototype.isNegated ()

function micromatch.glob.prototype.parse (pattern)

function micromatch.glob.prototype.track (msg)

function micromatch.glob.prototype.unescape (str)

module micromatch.utils

function micromatch.utils.arrayify (val)

function micromatch.utils.braces (str, options)

function micromatch.utils.brackets (str)

function micromatch.utils.cache (fn, str, opts)

function micromatch.utils.diff (arr, arrays)

function micromatch.utils.escapePath (fp)

function micromatch.utils.escapeRe (str)

function micromatch.utils.extglob (str, opts)

function micromatch.utils.filename (fp)

function micromatch.utils.hasFilename (re)

function micromatch.utils.hasPath (pattern, opts)

function micromatch.utils.isExtglob (str)

function micromatch.utils.isGlob (str)

function micromatch.utils.isPath (pattern, opts)

function micromatch.utils.matchPath (pattern, opts)

function micromatch.utils.normalize (str, stripTrailing)

function micromatch.utils.omit (obj, keys)

function micromatch.utils.parseGlob (glob)

function micromatch.utils.typeOf (val)

function micromatch.utils.unescapeGlob (fp)

function micromatch.utils.unique (arr)

function micromatch.utils.unixify (fp, opts)

[ this document was created with utility2 ]