Universal Server API based on web platform standards. Works with Deno, Bun and Node.js.
- โ Seamless runtime integration with identical usage (handler and
- โ Zero overhead Deno and Bun support
- โ Node.js compatibility with ~native perf and fast response support
import { serve } from "srvx";
const server = serve({
port: 3000,
fetch(request) {
return new Response("๐ Hello there!");
},
});
await server.ready();
console.log(`๐ Server ready at ${server.url}`);
๐ Visit the ๐ Documentation to learn more.
local development
Published under the MIT license.
Made by @pi0 and community ๐
๐ค auto updated with automd