Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno_bundler/deps.ts>fs.expandGlobSync

A Bundler with the web in mind.
Latest
function fs.expandGlobSync
import { fs } from "https://deno.land/x/deno_bundler@v0.9.1/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>