0.0.12 • Published 1 year ago

@bunsvr/core v0.0.12

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

The core server of BunSVR which aims to be fast.

import { App } from "@bunsvr/core";

// Create a new app
const app = new App();

// Use a middleware
app.use(async () => new Response("Hello world!"));

// Set port and hostname
app.port = 8080;
app.hostname = "127.0.0.1";

// Serve using bun
export default app;

See more examples here.

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago