node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »



Keep your Express server responsive even under heavy load! This trivial middleware uses toobusy-js library which is doing all the magic. Express-toobusy is just a handy wrapper middleware for Express.



If you want to specify your own max lag value, use it like this:


For details on max lag meaning and default values refer to toobusy-js documentation.