Overview of built-in Nitro server features
Nitro includes several integrated tools that behave consistently across all deployment targets:
- KV Storage: Unified key-value API for filesystem, Redis, Cloudflare KV, etc.
- Database: SQL layer powered by db0 (Experimental).
- Tasks: Runtime operations triggered via CLI or cron (Experimental).
- WebSockets: Cross-runtime support via crossws.
- Plugins: Lifecycle hooks defined in the
plugins/directory. - OpenAPI: Automatic spec generation for handlers (Experimental).
- Assets: Direct serving of public files and runtime access to server assets.
- Renderer: Catch-all handler for SSR, SPA shells, or HTML.