# JakeChampion/fetch

A window.fetch JavaScript polyfill.

Repository: https://github.com/JakeChampion/fetch
Canonical: https://ross.abutalabs.com/products/fetch
Language: JavaScript
License: MIT
License Family: permissive
Topics: polyfill, fetch, javascript, promise
Last push: 2024-07-15T00:26:39+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4343, "days_push": 780, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 25859, forks 2813 (observed 2026-08-28T04:11:38.692551+00:00)

## What it is
A JavaScript polyfill that implements a subset of the WHATWG Fetch specification, providing window.fetch() for browsers that lack native support. It serves as a Promise-based replacement for XMLHttpRequest in traditional web applications.

## Use cases
- add fetch support to older browsers
- replace XMLHttpRequest with promise-based requests
- make HTTP requests in legacy web apps
- polyfill window.fetch for IE11
- send JSON and form data with fetch
- upload files via fetch in old browsers

## When to choose
- you must support browsers without native fetch
- you want a spec-compliant fetch polyfill for legacy web apps
- you need promise-based requests in old browsers

## When to avoid
- your target browsers support fetch natively
- you need fetch in Node.js or server-side environments
- you need full Fetch spec features like streaming or complex CORS control

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, web-framework
- domain: web-development, frontend, apis
- platform: browser, cross-platform
- tags: polyfill, fetch-api, xmlhttprequest, promises, javascript

## Member repositories
- JakeChampion/fetch (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:38.692551+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:55:58.358643+00:00, confidence not recorded.
  - readme: https://github.com/JakeChampion/fetch (fetched 2026-08-28T04:11:38.692551+00:00, sha 426b9116ab2d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
