SkillAgentSearch skills...

Srvx

λ Universal Server based on web standards.

Install / Use

/learn @h3js/Srvx
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

λ srvx

<!-- automd:badges color=yellow packagephobia -->

npm version npm downloads install size

<!-- /automd -->

Universal Server based on web standards. Works with Deno, Bun and Node.js.

Quick start

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.

Contribution

  • Clone this repository
  • Install the latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Prepare stub mode using pnpm build --stub
  • Run interactive tests using pnpm dev

License

<!-- automd:contributors author=pi0 license=MIT -->

Published under the MIT license. Made by @pi0 and community 💛 <br><br> <a href="https://github.com/h3js/srvx/graphs/contributors"> <img src="https://contrib.rocks/image?repo=h3js/srvx" /> </a>

<!-- /automd --> <!-- automd:with-automd -->

🤖 auto updated with automd

<!-- /automd -->

Related Skills

View on GitHub
GitHub Stars760
CategoryDevelopment
Updated3h ago
Forks44

Languages

TypeScript

Security Score

95/100

Audited on Apr 3, 2026

No findings