Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.awfixer.me/llms.txt

Use this file to discover all available pages before exploring further.

JSTime exposes stdout as a BunFile with the JSTime.stdout property. This can be used as a destination for JSTime.write(). This code writes a file to stdout similar to the cat command in Unix.
const path = "/path/to/file.txt";
const file = JSTime.file(path);
await JSTime.write(JSTime.stdout, file);

See Docs > API > File I/O for complete documentation of JSTime.write().