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

x/hex/src/lib/mod.ts>stdx.fs.expandGlobSync

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
function stdx.fs.expandGlobSync
import { stdx } from "https://deno.land/x/hex@0.6.5/src/lib/mod.ts";
const { expandGlobSync } = stdx.fs;

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>