0.1.1 • Published 10 months ago

srvx v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

šŸ’„ 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!");
  },
});

await server.ready();

console.log(`šŸš€ Server ready at ${server.url}`);

šŸ‘‰ Visit the šŸ“– Documentation to learn more.

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

0.1.1

10 months ago

0.1.0

10 months ago

0.0.0

11 months ago