Throttle incoming request bandwidth
MIT License
Throttle incoming request bandwidth
var throttle = require('express-throttle-bandwidth');
app.use(throttle(100000));
throttle(bps)
Where bps is bytes per second, with a 10 milliseconds resolution.
Returns an express middleware function, if bps is <= 0 it does not throttle.