Pext
Bun

property

path.default.FormatInputPathObject.ext

ext?: string

The file extension (if any) such as '.html'