node-fetch (CommonJS version)

JSON →
library 3.3.2 ·javascript
verified Jun 7, 2026

A CommonJS-compatible fork of node-fetch v3.x that brings the WHATWG Fetch API to Node.js. This package provides the same API as node-fetch v3.3.1 but compiled to CommonJS, allowing require() usage and avoiding the ExperimentalWarning about 'stream/web'. It supports Node.js ^12.20.0, ^14.13.1, or >=16.0.0 and ships TypeScript type definitions. Useful for projects that require CommonJS modules or run on older Node.js versions that don't support node: prefix requires.