makine
Basis for a reactive HTTP event-driven machine, typically useful for CI/CD triggers.
This allows for a quick implementation of logic in HTTP-based flows involving Web Hooks, REST APIs and scheduled monitoring.
Installation
npm install makine --save
Usage
As a new engine
const extract on reply request response serve = ;
In an existing Express application
const app = ...const extract on reply request response serve = app;
Use another port
...
Request Pipeline
Makine request handling with .on()
is actually an RxJS pipeline with helpers.