srvx
Universal Server API

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