Core@revojs/server
Web standards from request to response.
Build HTTP routes, middleware, scheduled jobs and WebSockets around Request, Response and a request-scoped context.
What it handles
Routes and middleware
Validated request data
WebSockets and schedules
Cookies, state and responses
import { defineRoute, sendOk } from "@revojs/server";
export default defineRoute({
fetch(scope) {
return sendOk(scope, { ready: true });
},
});Keep exploring
Related modules
A Vite-native framework that turns routes, middleware, hooks, context and modules into a small set of predictable primitives.
Connect browser entry points, generated assets and HTML tags to the revojs module graph without application-specific bundler plumbing.