Skip to main content
Dirent.prototype.name - fs - Node documentation
property Dirent.prototype.name

Usage in Deno

import { Dirent } from "node:fs";

The file name that this fs.Dirent object refers to. The type of this value is determined by the options.encoding passed to readdir or readdirSync.

Type

string
Back to top