{"library":"fetch-with-retries","type":"library","category":null,"description":"Simple and opinionated library that adds automatic retry logic to native Node.js `fetch` (available since Node 20). Current version 2.3.0. Release cadence is sporadic. Key differentiators: built-in exponential backoff, support for `Retry-After` and `X-RateLimit-Reset` headers, custom retry conditions, timeout option, and ability to abort wait between retries. Unlike more generic retry libraries (e.g., `retry`), this one is tightly focused on fetch and handles rate limiting headers natively.","language":"javascript","status":"active","version":"2.3.0","tags":["javascript","fetch","retry","lib","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-with-retries","imports":["import { fetchWithRetries } from 'fetch-with-retries'","import { TimeoutError } from 'fetch-with-retries'","import type { FetchOptionsWithRetries } from 'fetch-with-retries'","const { fetchWithRetries } = require('fetch-with-retries')"]},{"cmd":"yarn add fetch-with-retries","imports":[]},{"cmd":"pnpm add fetch-with-retries","imports":[]}],"homepage":"https://github.com/francescorivola/fetch-with-retries","github":"https://github.com/francescorivola/fetch-with-retries","docs":null,"changelog":null,"pypi":null,"npm":"fetch-with-retries","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}