Module

x/ts_morph/common/mod.ts>matchGlobs

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
function matchGlobs
import { matchGlobs } from "https://dotland.deno.dev/x/ts_morph@19.0.0/common/mod.ts";

Checks the specified file paths to see if the match any of the specified patterns.

Parameters

paths: ReadonlyArray<string>
patterns: string | ReadonlyArray<string>
cwd: string

Returns

string[]