Socket
Book a DemoInstallSign in
Socket

@exodus/fetch

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/fetch

Wrapper around global fetch / node-fetch for Electron and React

latest
Source
npmnpm
Version
1.7.5
Version published
Weekly downloads
5.1K
16.9%
Maintainers
1
Weekly downloads
 
Created
Source

@exodus/fetch

A small wrapper around global fetch and node-fetch:

  • In React Native, global fetch is used without importing node-fetch

  • In Browser, global fetch is used without importing node-fetch

  • Otherwise node-fetch is imported, but when window.fetch is present (e.g. in Electron renderer process), it is used.

  • Otherwise (e.g. in Electron browser process and Node.js), node-fetch is used.

FAQs

Package last updated on 09 Apr 2025

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