Bun

A fast all-in-one JavaScript toolkit: a runtime that runs JavaScript and TypeScript directly, plus a package manager and test runner.

In more detail

Bun runs TypeScript files directly without a separate compile step and is largely compatible with Node.js. It also installs packages and supports workspaces for monorepos, like npm and pnpm.

Examples

Every lesson's code is run with bun run, for example bun run dtcg_token_resolver.tsx.
bun run ci/validate-workflow.ts ci/pipeline.yml
bun run monorepo_task_graph.tsx
bun run server_component.ts
bun run src/index.ts
bun --version

Related terms

Taught in

References