Express Insert Middleware
Call express middlewares just before calling next or sending response
Installation
$ npm install express-insert-middleware
Usage
Use this module to manualy call middleware inside your express
For example,
var insertMiddleware = ; /* Init your express app */ /* Create a basic middleware */ { /* Load informations from BDD { */ requser = name: nameFromBDD ; ; /* } */}app; /* Basic profile page */app; /* Edit profile request */app;
You can pass an array of multiple middlewares
License
This project is licensed under the MIT license.