node-fetch-commonjs
v3.3.2 fetch http promise request curl wget xhr whatwg
node-fetch-commonjs
node-fetch but in CommonJS format. This module is built from node-fetch
directly.
Version check
Differences
- You can
require("node-fetch-commonjs")
directly. - You will not see the
ExperimentalWarning: stream/web is an experimental feature
warning. - It works on older Node.js versions that don’t support requiring built-in modules with a
node:
prefix.
Build
yarn
./build.js # Output to `lib` folder
Install
yarn add node-fetch-commonjs
npm i node-fetch-commonjs
Metadata
- MIT
- ^12.20.0 || ^14.13.1 || >=16.0.0
- David Frank
- released 9/12/2023