</>PackageGraphPackageGraph

whatwg-fetch

npmv3.6.20

A window.fetch polyfill.

Adopt with care

whatwg-fetch is usable, with caveats. Last published 1001 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • DMaintenance: grade D, Poor — a real concern.

    Last published 1001 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 56 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 3 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding whatwg-fetch to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

56 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
ESM + CommonJS
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the whatwg-fetch README.

javascriptFull README ↗
import 'whatwg-fetch'

window.fetch(...)

Dependencies

Declared by whatwg-fetch v3.6.20. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (17)

abortcontroller-polyfill ^1.1.9auto-changelog ^2.4.0chai ^4.1.2eslint ^7.20.0karma ^3.0.0karma-chai ^0.1.0karma-chrome-launcher ^2.2.0karma-detect-browsers ^2.3.2karma-firefox-launcher ^1.1.0karma-mocha ^1.3.0karma-safari-launcher ^1.0.0karma-safaritechpreview-launcher 0.0.6mocha ^4.0.1prettier ^1.19.1promise-polyfill 6.0.2rollup ^0.59.1url-search-params 0.6.1

Used by

Popular packages that depend on whatwg-fetch.

Relationship graph

Dependencies (left) and dependents (right) of whatwg-fetch.

Frequently installed together

Release history

No releases in the last two years, typically about 0 days apart.

Recent versions of whatwg-fetch
VersionPublishedSizeLicense
3.6.20latest2 years ago56 KBMIT
3.6.193 years ago56 KBMIT
3.6.183 years ago56 KBMIT
3.6.173 years ago56 KBMIT
3.6.163 years ago56 KBMIT
3.6.153 years ago56 KBMIT
3.6.143 years ago56 KBMIT
3.6.133 years ago55 KBMIT
3.6.123 years ago55 KBMIT
3.6.113 years ago55 KBMIT
3.6.103 years ago55 KBMIT
3.6.93 years ago55 KBMIT
3.6.83 years ago55 KBMIT
3.6.73 years ago54 KBMIT
3.6.63 years ago54 KBMIT

Overview

whatwg-fetch is an npm package that a window.fetch polyfill. It has 4 known dependents in the graph. The latest version is 3.6.20, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need a window.fetch polyfill and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).

Cons

  • Large dependency tree (17 direct dependencies) increases install size and audit surface.
  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use whatwg-fetch?

whatwg-fetch is usable, with caveats. Last published 1001 days ago.

How do I install whatwg-fetch?

Run `npm install whatwg-fetch` to add whatwg-fetch to your npm project.

What license is whatwg-fetch released under?

whatwg-fetch is distributed under the MIT license.

How popular is whatwg-fetch?

npm does not publish download counts. Within PackageGraph's crawl, 4 known packages depend on whatwg-fetch.

Is whatwg-fetch still maintained?

The most recent release of whatwg-fetch (v3.6.20) was published 2 years ago.

Does whatwg-fetch run install scripts?

No. whatwg-fetch does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.