Bun
File SystemWrite file

Write a string to a file

Use Bun.write() to write a string to disk at an absolute path . The first argument is a destination ; the second is the data to write.