Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 231 Bytes

addMiddleware.md

File metadata and controls

13 lines (8 loc) · 231 Bytes

manager.addMiddleware

Add a middleware to the middlewares chain.

Arguments

  1. middleware (function): the middleware to add the the chain

Example

db.addMiddleware(require('monk-plugin-dereference'))