FileHound
    Preparing search index...

    Function glob

    • Matches files whose path, relative to the search path, satisfies a glob pattern. Patterns follow Node's path.matchesGlob and fs.glob rules: *.json matches only the top level of the search path, and a leading ** segment matches at any depth. Wildcards, including **, do not match names beginning with a dot.

      Parameters

      • globPattern: string

        the glob pattern

      Returns FilePredicate

      the predicate

      FileHound.create().match(glob('*.json'));