UnJS | Nitropack
summary
Nitro is a runtime and toolchain from the UnJS ecosystem that compiles servers to run on many providers with a single codebase and no node_modules dependency by using an external tracer (nft) to bundle only needed files. Benchmarks show route matching 1,000,000 ops/s with Radix 3 and a caching SWR mode that boosts real-world throughput up to ~500x (claims up to 1000x on simple cases). Features include binary KV storage, built‑in encrypted sessions, a runtime proxy for subrequests, auto‑imports, and a cluster mode that speeds CPU‑bound workloads ~5x.
AI-written summary · about
chapters (16)
- 0:00Intro
- 1:26What is Nitro?
- 4:20Web Platform Standards
- 5:28Platform Agnostic APIs
- 7:28Elegant API Routes with h3
- 8:57Unbeatable Performances (SWR)
- 11:11Performance at Rest
- 15:54A moment for Iran
- 17:29Binary Storage Support
- 18:30Built-in Session Support
- 20:23Runtime Proxy
- 21:32Event context and fetching
- 22:50Composable auto import support for utils/ dir
- 23:25Optimized node_modules tracer for output bundle
- 25:04Nitro Pod Format (upcoming)
- 26:17Nitro Roadmap Q2/3 2023








