AndersDJohnson / fetch-paginate

Get multiple pages from paginated APIs with fetch.

Home Page:https://andersdjohnson.github.io/fetch-paginate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Get multiple pages from paginated APIs with fetch.

https://andersdjohnson.github.io/fetch-paginate/

License:MIT License


Languages

Language:TypeScript 94.2%Language:JavaScript 5.8%