ftybr-add-to-res

0.0.1 • Public • Published

ftybr-add-to-req Build Status

To create your middleware object:

var addToReq = require('ftybr-add-to-req');

Once you've instantiated it, you may add this middleware to your ftybr router:

router.registerMiddleware(addToReq('someData', ['win']));

This middleware will add the specified object to each request object

Readme

Keywords

none

Package Sidebar

Install

npm i ftybr-add-to-res

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • connrs