0.0.12 • Published 2 years ago

@bunsvr/core v0.0.12

Weekly downloads
-
License
-
Repository
github
Last release
2 years 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

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.9

2 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago