Skip to main content
Latest
function fs.expandGlobSync
import { fs } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
const { expandGlobSync } = fs;

Synchronous version of expandGlob().

Example:

 for (const file of expandGlobSync("**\/*.ts")) {
   console.log(file);
 }

Parameters

glob: string
optional
unnamed 1: ExpandGlobOptions = [UNSUPPORTED]

Returns

IterableIterator<WalkEntry>