srvx
Universal Server API
srvx
Universal Server API
Based on web platform standards and works seamlessly with Deno, Bun and Node.js.
server.mjsimport { 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}`);