2.0.12 • Published 9 months ago

@scalar/void-server v2.0.12

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

Scalar Void Server

Version Downloads License Discord

An Hono server that responds with the request data. Kind of a mirror for HTTP requests.

Installation

npm add @scalar/void-server

Usage

import { serve } from '@hono/node-server'
import { createVoidServer } from '@scalar/void-server'

// Create the server instance
const app = await createVoidServer()

// Start the server
serve(
  {
    fetch: app.fetch,
    port: 3000,
  },
  (info) => {
    console.log(`Listening on http://localhost:${info.port}`)
  },
)

Community

We are API nerds. You too? Let’s chat on Discord: https://discord.gg/scalar

License

The source code in this repository is licensed under MIT.

2.0.12

9 months ago

2.0.11

10 months ago

2.0.10

11 months ago

2.0.9

12 months ago

2.0.8

12 months ago

2.0.7

12 months ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago