@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

    462

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    3.53 kB

    Total Files

    7

    Last publish

    Collaborators

    • siva-ramnathan
    • kwwood
    • sergii_bo
    • ericvicenti
    • mrousavy
    • dimitrios.pa
    • mongkuen
    • philipcr
    • jacobbr22
    • kashifchoudhry
    • lekzd
    • cdotta
    • ryansquared
    • alexandrbbm
    • danm.exodus
    • danh.t.vo
    • renie
    • alex.alexandrius
    • ezenwankwogabriel
    • meniem
    • mzndako
    • ianertson
    • kevva
    • jumokeolads
    • aaronloexodus
    • vikgmdev
    • iamcrazycoder
    • kewde_
    • cassapula
    • wjbeau
    • feri42
    • jprichardson
    • farisissa
    • dooglio
    • ryanzim
    • headfire
    • kklash
    • gutenye
    • mosesbot
    • roccomuso
    • dcastagnoli
    • sonaye
    • nareg_exodus
    • ves
    • tenaciousmv
    • asyakost
    • maxogden
    • bulgakovk
    • sekhmet
    • chalker
    • andrejb
    • gordonel
    • richayotte
    • jaydp17
    • olistic
    • joepie91
    • merlz
    • jadechip
    • vbonini
    • cooncesean
    • devopsrobot
    • jenish-sojitra
    • unidwell
    • nachoalvarez
    • giovannirco
    • ilyavf
    • rec
    • dncabal
    • r1oga
    • diegomura
    • danilsergeev
    • lanre-mark
    • sunilagrawal
    • guillecura
    • motorina0
    • chadstrat
    • mariosvlad
    • federico-po
    • pagan404