#Bun.write
1 messages · Page 1 of 1 (latest)
path not existing and file not existing are two cases
Bun.write handles the file not existing but you have to create the directories first using fs.mkdirSync with recursive true if there are subdirectories