fetch-nodeshim
A Node.js fetch shim using built-in Request, Response, and Headers (but without native fetch)
Last updated 16 days ago by GitHub Actions .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fetch-nodeshim 
SYNC missed versions from official npm registry.

fetch-nodeshim

A looser implementation of fetch that bypasses Node.js' built-in fetch. Some implementations (specifically ones that provide undici-based shims) or some versions of Node.js may ship with a built-in version of undici that's older and/or missing patches.

This implementation of fetch uses built-ins as much as possible, using global Request, Response, and Headers, whether they're provided by a polyfill or by Node.js itself. However, it's a looser and more permissive implementation that calls into node:http and node:https instead.

Think of it as @remix-run/web-fetch, but lighter.

Current Tags

  • 0.4.10                                ...           latest (16 days ago)

40 Versions

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (25)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |