Bun
File SystemWrite file

Write a file incrementally

Bun provides an API for incrementally writing to a file. Use it for large files, or when writing to a file over a long period of time.