kics223w1 / node-fetch-cjs

node-fetch available as a commonjs module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NEW! Want to just require any ES module with zero setup? Try esm-hook.

node-fetch-commonjs

node-fetch but in CommonJS format. This module is built from node-fetch directly.

Version check

Latest upstream version Current upstream version

Differences

  1. You can require("node-fetch-commonjs") directly.
  2. You will not see the ExperimentalWarning: stream/web is an experimental feature warning.
  3. 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

About

node-fetch available as a commonjs module

License:MIT License


Languages

Language:JavaScript 100.0%