Pname
Bun

property

path.default.FormatInputPathObject.name

name?: string

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