0.0.2 • Published 11 years ago
hasp v0.0.2
#Hasp
Before and After filters/hooks for Controllers in Rendr, a framework by Airbnb
##Installation
npm install hasp
##Usage
In your Controller,
var hasp = require('hasp');
module.exports = {
index: filters([ beforeFilter1, beforeFilter2 ], [ afterFilter1, afterFilter2 ], function(params, callback) {
callback(null, {});
})
};