Stdout
The console.log function writes to stdout. It will automatically append a line break at the end of the printed data.
console.log("Lorem ipsum");For more advanced use cases, JSTime exposes stdout as a BunFile via the JSTime.stdout property. This can be used as a destination for JSTime.write().
await JSTime.write(JSTime.stdout, "Lorem ipsum");See Docs > API > File I/O for complete documentation of JSTime.write().