fetch-paginate
JSON →A lightweight library for fetching multiple pages from paginated REST APIs using `fetch`. Supports Link headers (e.g., GitHub), page/offset/limit query parameters, and custom pagination logic. Version 6.1.0 is the current stable release. Ships TypeScript types. Provides both promise-based (`fetchPaginate`) and async iterator (`fetchPaginateIterator`) APIs. Isomorphic (works in Node.js with a fetch polyfill and in the browser). Allows custom `fetch` wrappers for caching. Key differentiator: simple, unopinionated, and works with any fetch-compatible environment.
Traffic · last 30 days stale · no recent hits
total hits 9
actors 2 distinct systems
last hit 16d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇮🇳 India · 🇨🇦 Canada · 🇪🇸 Spain
Resources
packagefetch-paginate ↗