Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dnt/lib/mod.deps.ts>glob.expandGlobSync

Deno to npm package build tool.
Latest
function glob.expandGlobSync
import { glob } from "https://deno.land/x/dnt@0.40.0/lib/mod.deps.ts";
const { expandGlobSync } = glob;

Synchronous version of expandGlob().

Examples

Example 1

import { expandGlobSync } from "https://deno.land/std@0.224.0/fs/expand_glob.ts";
for (const file of expandGlobSync("**\/*.ts")) {
  console.log(file);
}

Parameters

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

Returns

IterableIterator<WalkEntry>