srvx
Universal Server
Based on web standards. Works with Node.js, Deno and Bun.
export default {
fetch(req: Request) {
return Response.json({ hello: "world!" })
}
};
/*
Node.js: $ npx srvx
$ pnpx srvx
$ yarn dlx srvx
Deno: $ deno -A npm:srvx
Bun: $ bunx --bun srvx
*/
- Node.js Compatibility
Node.js compatibility with up to ~96.98% native performance.
- Development Experience
Built-in CLI with watcher, logger, error handler, and static file serving.