You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

fetch-nodeshim

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-nodeshim

A Node.js fetch shim using built-in Request, Response, and Headers (but without native fetch)

latest
Source
npmnpm
Version
0.4.9
Version published
Weekly downloads
496K
28.72%
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 04 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts