Package Exports
- srvx
- srvx/node-utils
- srvx/types
Readme
💥 srvx
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
Quick start
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.
Development
local development
License
Published under the MIT license.
Made by @pi0 and community 💛
🤖 auto updated with automd