import rateLimit , { RateLimit } from "express-rate-limit" ; const apiLimit = rateLimit ( { windowMs : 24 * 60 * 60 * 1000 , max : 200 , message : "Uh oh! You have reached the maximum api call (200 calls per day)" , headers : true , } ) ; export default apiLimit ;