@unlighthouse/server
v0.17.4
Published
Server for Unlighthouse
Downloads
65,423
Maintainers
Readme
@unlighthouse/server
The server package for Unlighthouse that provides the web server and API endpoints for the scanning interface.
Usage
import { createServer } from '@unlighthouse/server'
const { server, app } = await createServer()
// server is an instance of listhen, app is an instance of h3
await unlighthouse.setServerContext({ url: server.url, server: server.server, app })
await unlighthouse.start()Documentation
License
MIT License © 2021-PRESENT Harlan Wilton
