Plimit
Bun

property

fs.promises.WriterOptions.limit

limit?: number

Maximum number of bytes the writer will accept. Async writes (write(), writev()) that would exceed the limit reject with ERR_OUT_OF_RANGE. Sync writes (writeSync(), writevSync()) return false.