visionmedia/node-ratelimiter — pull request #3 by noamshemesh (2014-04-28 13:36:08+00:00)
Title: If count is zero, expiration would update again and again when getting request.

Besides that, expiring only after a validation that the count is set by setnx.