Pname
Bun

property

BunFile.name

readonly name?: string

The name or path of the file, as specified in the constructor.