npm.io
1.2.1 • Published 3 years ago

fetch-undici-polyfill

Licence
Apache-2.0
Version
1.2.1
Deps
1
Size
13 kB
Vulns
0
Weekly
0

fetch-undici-polyfill

Polyfill fetch with undici implementation on NodeJS.

Usage

Install: npm i fetch-undici-polyfill

Code:

// ESM import
import "fetch-undici-polyfill";
// CJS require
require("fetch-undici-polyfill");

fetch("https://nyan.cat");

Proxy configuration

Supports the environment variable HTTPS_PROXY and https_proxy. Read more about it here.

Keywords