Adds sync plugin support to your application. Kinda fork of use - use it if you need to support nesting. Or use ware if you need async middleware system.
npm i use-ware --save
For more use-cases see the tests
const useWare = require('use-ware')
- composition: Compose generator and async/await middleware | homepage
- lazy-arrayify: We are lazy, also lazy-cached and browserify-ready - just arrayify, falsey values… more | homepage
- lazy-cache: Cache requires to be lazy-loaded when needed. | homepage
- lazy-utils: Most of the used mostly everywhere utils: extend-shallow, isobject, is-extendable (used in… more | homepage
- use: Easily add plugin support to your node.js application. | homepage
- useware: Accept Arguments object or multiple arguments that can be any value, including… more | homepage
- useware-context: Much like useware, but with the ability to bind given context to… more | homepage
- ware: Easily create your own middleware layer. | homepage
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.