Bun Get the process uptime in nanoseconds

Get the process uptime in nanoseconds

jarle Updated

File contents

Get the process uptime in nanoseconds

Use Bun.nanoseconds() to get the total number of nanoseconds the bun process has been alive.

Bun.nanoseconds();

See Docs > API > Utils for more useful utilities.

jarle/bun-skills/tree/main/skills/bun-guides-process-nanoseconds commit ce114d31f3

Frequently asked questions

npx skillmds@latest add jarle/bun-get-the-process-uptime-in-nanoseconds