High-level Express.js components for NoFlo
npm install --save noflo-xpress
- Updated for NoFlo 1.x
- fixed lifecycle for Server component
- added RESTful Resource router component
- using process api in components & test_components
- components/Router does not store state, components/Server saves server as scoped state for shutdown()
- using noflo 0.8
- only 1 router for everything, removed lib/
- bumped express, uuid, and mocha dependencies
- testing on 4.x and 6.x on Travis
- bumped chai, noflo, and mocha dependencies
res.uuidare set by routers before applying filters, so request id is now available in filters as well as in downstream processes.
Routerinto 4 components with different inports:
ComboRouter. No meta ports configuration anymore as it is not supported by Flowhub.
FILTERport of type
array of functionwhich allows chaining multiple filters.
- Remove obsolete
Routecomponent, use routers instead.
- Remove unused
ROUTERoutport from routers.