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

Usage in Deno

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

Properties

optional
encoding: BufferEncoding | undefined
optional
bufferSize: number | undefined

Number of directory entries that are buffered internally when reading from the directory. Higher values lead to better performance but higher memory usage.

optional
recursive: boolean