Middleware Pipeline
Simple Middleware Pipeline
Installation
# using yarn: yarn add middleware-pipeline # using npm: npm install --save middleware-pipeline
Usage
// add some more middlewarespipeline.push, // add the terminating middlewarepipeline.pushterminatingMiddleware // add another one for fun ¯\_(ツ)_/¯pipeline.push // execute the pipeline with initial value of `ctx`pipeline.execute
License
Licensed under the MIT License. Check the LICENSE file for details.