- Use `Bun.serve()` for HTTP servers instead of Express for simple APIs.
- Use `Bun.file()` and `Bun.write()` for fast file I/O.
- Use `Bun.env` instead of `process.env` for type-safe env access.
- Use `bun install` with its lockfile (`bun.lockb`) — do not mix with npm/yarn/pnpm.
- Import `.toml`, `.txt`, `.json` files directly — Bun handles them natively.
- Use `Bun.password.hash()` / `Bun.password.verify()` instead of bcrypt.
- Use `Bun.spawn()` for subprocesses instead of `child_process`.
- Use `Bun.Transpiler` for runtime code transformation.
- Prefer Bun macros for compile-time code execution.