Skip to main content
GlobOptions - fs - Node documentation
interface GlobOptions

Usage in Deno

import { type GlobOptions } from "node:fs";

Properties

optional
cwd: string | undefined

Current working directory.

optional
exclude: ((fileName: string) => boolean) | undefined

Function to filter out files/directories. Return true to exclude the item, false to include it.

optional
withFileTypes: boolean | undefined

true if the glob should return paths as Dirents, false otherwise.