Add server side hooks to racer.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

racer-hooks

Derby/Racer middleware that uses derby-hook to add hook functions to the store.

Installation

$ npm install racer-hooks --save

Usage

In your server file:

var derby = require('derby');
var hooks = require('racer-hooks');

// ...

derby.use(hooks());