mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
* Docs & types for 0.7 * Tweak * Update * Tweaks * Tweak * Tweaks --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
10 lines
200 B
TypeScript
10 lines
200 B
TypeScript
import { resolve } from "path";
|
|
const { write, stdout, file } = Bun;
|
|
import { argv } from "process";
|
|
|
|
const path = resolve(argv.at(-1)!);
|
|
await write(stdout, file(path));
|
|
|
|
Bun.stdout;
|
|
process.stdout;
|