Skip to Content
Senri
API reference

/node

@senrijs/senri/node: Running on node:http on Node.js

Running on node:http on Node.js.

import { ... } from "@senrijs/senri/node";

Functions and classes

NameWhat it does
serve(app, options)Starts on node:http and returns the http.Server

Unlike serve() from @senrijs/senri/serve, it does not choose the port, print the routes or handle shutdown.

Source: adapters/node/index.ts

On this page