Function to filter out files/directories or a list of glob patterns to be excluded. If a function is provided, return true to exclude the item, false to include it. If a string array is provided, each string should be a glob pattern that specifies paths to exclude. Note: Negation patterns (e.g., '!foo.js') are not supported.
property exclude | Node.js fs module | Bun BuildDocsReferenceGuidesBlogDiscord/node:fs/_GlobOptions/excludePexclude BuildDocsReferenceGuidesBlogDiscord /node:fs/_GlobOptions/excludePexclude fs._GlobOptions.excludeexclude?: readonly string[] | (fileName: T) => boolean
Search the reference...
/
property
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →property exclude | Node.js fs module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- Function to filter out files/directories or a
list of glob patterns to be excluded. If a function is provided, return
`true` to exclude the item, `false` to include it.
If a string array is provided, each string should be a glob pattern that
specifies paths to exclude. Note: Negation patterns (e.g.,