request-limiter-example-code-req-limiter
v1.0.7
Published
Node module to limit your request
Downloads
5
Maintainers
Readme
Request limiter
Dependency
- Hapi Js
- JWT Auth
How to use request limiter in your route
const req-handeler = require('request-limiter-example-code-req-limiter');
{
method: 'POST',
path: '/api/path/',
config: {
handler: function(){},
auth: {
strategy: 'jwt'
},
pre: [{method: req-handeler}]
}
},