Nitro Server Engine
nitro.unjs.io
1
Leaving SiteNav
External Link Disclaimer
You are about to visit nitro.unjs.io. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
Nitro is a powerful server toolkit created by the UnJS collective, led by Pooya Parsa and Sebastien Chopin, in 2022, serving as the underlying server engine powering Nuxt three, providing a universal server that can deploy to any platform with zero configuration, including Node.js, Cloudflare Workers, Vercel, Netlify, Deno, Bun, and static hosting, with built-in file-based routing, middleware support, server plugins, asset handling, cache strategies, and cross-platform storage abstraction, designed to be the most versatile server engine for modern JavaScript applications. The deployment system uses build presets that automatically configure the output format for each deployment target, producing a Cloudflare Worker bundle for Cloudflare, an edge function for Vercel Edge, a Lambda handler for AWS, a static export for Netlify, and a standalone Node.js server for self-hosting, all from the same codebase without configuration changes, with the output automatically adapting to the deployment platform capabilities. The routing system uses file-based routing from the server slash routes directory, automatically creating API endpoints from TypeScript and JavaScript files, with dynamic route parameters through bracket notation, catch-all routes through triple dots, route groups, middleware through middleware files, and automatic OpenAPI spec generation. The storage abstraction provides a unified key-value API across multiple drivers including local file system, Cloudflare KV, Vercel KV, Upstash Redis, local browser storage, and in-memory storage, with the same code working across all drivers. The caching system provides cached event handlers with SWR, stale-while-revalidate semantics. The plugin system for server extensions. The task runner for scheduled jobs. The WebSocket support. Designed for JavaScript server developers.
Statistics
1
Views
0
Clicks
0
Like
0
Dislike