Skip to main content
The Bun.file() function accepts a path and returns a BunFile instance. Use the .delete() method to delete the file.

See Bun.file().