Nagging Penguin Matriarchs

    @exodus/fetch

    1.2.1 • Public • Published

    @exodus/fetch

    A small wrapper around global fetch and node-fetch:

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

    2. In Browser, global fetch is used without importing node-fetch

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

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

    Keywords

    none

    Install

    npm i @exodus/fetch

    DownloadsWeekly Downloads

    4,085

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    3.53 kB

    Total Files

    7

    Last publish

    Collaborators

    • clarkexo
    • andrewrexo
    • james-gre
    • juraex
    • exorich
    • richayotte
    • ralph.ba
    • angelloz
    • joshuabot
    • jamiemaw
    • exodus-justin.za
    • javiexodus
    • wcastr
    • brandon-exodus
    • rg911
    • alex.alexandrius
    • filipexodus
    • ryansquared-npm
    • andrescarreon
    • florianmathieu
    • eox42
    • janwe
    • fosterdill
    • eduardoexodus
    • fboucquez
    • skapala
    • umito
    • lanahizzle
    • iaacek
    • nafisholeh
    • ariene-exodus
    • ps.mcnally
    • akinncar
    • matias.la
    • voltagebots
    • kwwood
    • sergii_bo
    • philipcr
    • jacobbr22
    • lekzd
    • cdotta
    • alexandrbbm
    • danh.t.vo
    • ezenwankwogabriel
    • meniem
    • mzndako
    • kevva
    • aaronloexodus
    • feri42
    • jprichardson
    • farisissa
    • ryanzim
    • headfire
    • gutenye
    • mosesbot
    • roccomuso
    • dcastagnoli
    • sonaye
    • nareg_exodus
    • ves
    • tenaciousmv
    • asyakost
    • bulgakovk
    • chalker
    • andrejb
    • jaydp17
    • olistic
    • joepie91
    • merlz
    • jadechip
    • vbonini
    • devopsrobot
    • jenish-sojitra
    • unidwell
    • nachoalvarez
    • giovannirco
    • rec
    • diegomura
    • lanre-mark
    • sunilagrawal
    • guillecura
    • mariosvlad
    • federico-po
    • pagan404