jfromaniello / express-unless

Conditionally add a middleware to express with some common patterns
MIT License
178 stars 27 forks source link

Pass res and next to custom #5

Closed shanksauce closed 9 years ago

shanksauce commented 9 years ago

I want to be able to intercept exceptional cases from upstream middleware, and have more control over the response or subsequent middleware.