cycle-node-http-driver
A server HTTP driver for Cycle.js
Basic usage
const run = default;const makeHTTPServerDriver = makeHTTPServerDriver; { // Get the request from the HTTPServer source const request$ = HTTPServer; // Build a stream containing your HTTP responses const response$ = request$; // Pass your stream to the HTTPServer sink return HTTPServer: response$ ;} const drivers = HTTPServer: // The driver will create a HTTP server listening on 0.0.0.0:8080; ;