Skip to main content
path.FormatInputPathObject.name - path - Node documentation
property path.FormatInputPathObject.name

Usage in Deno

import { type path } from "node:path";

The file name without extension (if any) such as 'index'

Type

string | undefined