Simple. Fast. Distributed.
Easy to Use
Write parallel code as simply as using Array.map(). No complex workflow configurations needed.
Highly Scalable
Process thousands of requests in parallel using Cloudflare's global network and queues.
Reliable
Built-in retry mechanism, error handling, and status tracking for each operation.
How It Works
fetch-each uses Cloudflare Queues and Durable Objects to distribute work across workers while maintaining the simplicity of writing synchronous code.
Get Started
import { fetchEach } from "@cfa/fetch-each";
// Process multiple API requests in parallel
const results = await fetchEach([
{
url: "https://api.example.com/data",
method: "POST",
body: { query: "example" }
},
// ... more requests
]);