Bun
File SystemWrite file

Write a file to stdout

Bun exposes stdout as a BunFile with the Bun.stdout property. Pass it as the destination to Bun.write() .