Skip to main content

@std/fs@0.215.0

latest
Works with
It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun
It is unknown whether this package works with Browsers
It is unknown whether this package works with Deno
It is unknown whether this package works with Node.js
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Bun
JSR Score70%
Published2 years ago (0.215.0)

Functions

f
expandGlob(
glob: string | URL,
unnamed 1?: ExpandGlobOptions
): AsyncIterableIterator<WalkEntry>

Expand the glob string from the specified root directory and yield each result as a WalkEntry object.

f
expandGlobSync(
glob: string | URL,
unnamed 1?: ExpandGlobOptions
): IterableIterator<WalkEntry>

Synchronous version of expandGlob().

Interfaces

  • canonicalize: boolean

    Indicates whether the followed symlink's path should be canonicalized. This option works only if followSymlinks is not false.

  • exclude: string[]

    List of glob patterns to be excluded from the expansion.

  • Whether to follow symbolic links.

  • includeDirs: boolean

    Whether to include directories in entries.

  • root: string

    File path where to expand from.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/fs

Import symbol

import * as mod from "@std/fs/expand_glob";
or

Import directly with a jsr specifier

import * as mod from "jsr:@std/fs/expand_glob";