Sunday 30 April 2017

How to use the bottleneck npm module

I just found out about this bottleneck npm module to limit the no of requests per second. I understood the bottleneck() constructor, but cannot understand the submit and schedule() methods, probably because I am a beginner in node and don't know about promise.

Anyway, I couldn't find any examples about using bottleneck from google.

A bottleneck example in basic nodejs and express could help a lot.

Here is the npm package: bottleneck npm module



via NirabhroMakhal

No comments:

Post a Comment