Skip to content

AndersDJohnson/fetch-paginate

Repository files navigation

fetch-paginate

Get multiple pages of results from paginated APIs with fetch.

📖 Read the docs!

Fetches multiple pages from paginated APIs with fetch (using either Link headers like GitHub, or with page or offset & limit query parameters).

Also use to search a paginated API until you find your item (see Async Iterators or until option).

  • Supports TypeScript.
  • Isomorphic - works in Node and browser*
  • Supports custom fetch wrappers for caching, etc.