Pext
Bun

property

path.default.ParsedPath.ext

ext: string

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