λ Universal Server based on web standards.
865
stars
600
commits
TypeScript
primary language
Sep 7, 2026
updated
Universal Server based on web standards. Works with Deno, Bun and Node.js.
export default {
fetch(req: Request) {
return Response.json({ hello: "world!" });
},
};
Then, run the server using your favorite runtime:
# Node.js
$ npx srvx # npm
$ pnpx srvx # pnpm
$ yarn dlx srvx # yarn
# Deno
$ deno -A npm:srvx
# Bun
$ bunx --bun srvx
You can also use srvx fetch to directly call your server handler without starting a server:
$ npx srvx fetch /api/users
See CLI documentation for more options.
👉 Visit the 📖 Documentation to learn more.
corepack enablepnpm installpnpm build --stubpnpm devPublished under the MIT license.
Made by @pi0 and community 💛
🤖 auto updated with automd
(top 30 of 45)
TypeScript
98.2%
JavaScript
1.8%
λ Universal Server based on web standards.
865
stars
600
commits
TypeScript
primary language
Sep 7, 2026
updated
Universal Server based on web standards. Works with Deno, Bun and Node.js.
export default {
fetch(req: Request) {
return Response.json({ hello: "world!" });
},
};
Then, run the server using your favorite runtime:
# Node.js
$ npx srvx # npm
$ pnpx srvx # pnpm
$ yarn dlx srvx # yarn
# Deno
$ deno -A npm:srvx
# Bun
$ bunx --bun srvx
You can also use srvx fetch to directly call your server handler without starting a server:
$ npx srvx fetch /api/users
See CLI documentation for more options.
👉 Visit the 📖 Documentation to learn more.
corepack enablepnpm installpnpm build --stubpnpm devPublished under the MIT license.
Made by @pi0 and community 💛
🤖 auto updated with automd
(top 30 of 45)
TypeScript
98.2%
JavaScript
1.8%