brick-server
Create an http handler for
brick-router
.
Sends out ndjson events. Works well with
opnr and
garnish.
Installation
$ npm install brick-server
Usage
const brickRouter = const brickServer = const http = const router = // streamsrouter // stringsrouter const handler = const server = httpserver
See Also
- brick-router - modular router for serving static assets
- opnr - launches the browser when ndjson criteria is met
- garnish - prettifies ndjson from wzrd and similar tools