{"library":"fetch-paginate","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"6.1.0","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-paginate","imports":["import { fetchPaginate } from 'fetch-paginate'","import { fetchPaginateIterator } from 'fetch-paginate'","import type { FetchPaginateOptions } from 'fetch-paginate'"]},{"cmd":"yarn add fetch-paginate","imports":[]},{"cmd":"pnpm add fetch-paginate","imports":[]}],"homepage":"https://github.com/AndersDJohnson/fetch-paginate#readme","github":"https://github.com/AndersDJohnson/fetch-paginate","docs":null,"changelog":null,"pypi":null,"npm":"fetch-paginate","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}