Augmented Intelligence interview question

How would you implement a rate limiter using node?