OpenDirOptions.bufferSize - Node documentation
property OpenDirOptions.bufferSize

Usage in Deno

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

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

Type

number | undefined