Skip to main content
Deno 2 is finally here 🎉️
Learn more

fetchify

import { RESTLimiter } from "https://deno.land/x/fetchify/mod.ts";

const limiter = new RESTLimiter({ interval: 1000 });

const res = await limiter.fetch(
  "https://jsonplaceholder.typicode.com/todos/1",
);