property path.FormatInputPathObject.name Usage in Denoimport { type path } from "node:path"; The file name without extension (if any) such as 'index' Type string | undefined