srvx
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

💥 srvx

npm version npm downloads

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

Quick start

import { serve } from "srvx";

const server = serve({
  port: 3000,
  fetch(request) {
    return new Response("👋 Hello there!");
  },
});

👉 Visit the 📖 Documentation to learn more.

Development

local development
  • Clone this repository
  • Install the latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

License

Published under the MIT license. Made by @pi0 and community 💛


🤖 auto updated with automd

Readme

Keywords

none

Package Sidebar

Install

npm i srvx

Homepage

srvx.h3.dev

Weekly Downloads

4,443

Version

0.8.0

License

MIT

Unpacked Size

60.3 kB

Total Files

22

Last publish

Collaborators

  • pi0