Skip to main content
OpenDirOptions - node__fs.d.ts - Node documentation
interface OpenDirOptions

Usage in Deno

```typescript import { type OpenDirOptions } from "node:node__fs.d.ts"; ```

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