Pregunta de entrevista de Boolmind

Design an API rate-limiting middleware in Node.js?