UNPKG

bun-types

Version:

Type definitions and documentation for Bun, an incredibly fast JavaScript runtime

14 lines (9 loc) 269 B
--- name: Get the process uptime in nanoseconds --- Use `Bun.nanoseconds()` to get the total number of nanoseconds the `bun` process has been alive. ```ts Bun.nanoseconds(); ``` --- See [Docs > API > Utils](https://bun.sh/docs/api/utils) for more useful utilities.