7.1.0 • Published 3 years ago

fetch-ponyfill v7.1.0

Weekly downloads
103,255
License
MIT
Repository
github
Last release
3 years ago

Fetch Ponyfill

WHATWG fetch ponyfill

This module wraps the github/fetch polyfill in a CommonJS module for browserification, and avoids appending anything to the window, instead returning a setup function when fetch-ponyfill is required. Inspired by object-assign.

When used in Node, delegates to node-fetch instead.

Usage

Browserify

const {fetch, Request, Response, Headers} = require('fetch-ponyfill')(options);

Webpack

import fetchPonyfill from 'fetch-ponyfill';
const {fetch, Request, Response, Headers} = fetchPonyfill(options);

Options

Where options is an object with the following optional properties:

optiondescription
PromiseAn A+ Promise implementation. Defaults to window.Promise in the browser, and global.Promise in Node.
XMLHttpRequestThe XMLHttpRequest constructor. This is useful to feed in when working with Firefox OS. Defaults to window.XMLHttpRequest. Has no effect in Node.
qcauditformbuilderqcauditformbuilderjs@prem911/formiojsopinion-pollfiat-widget@zzappie/bigchaindb-driverauditformbuilderjsfaster-remote-config--sdk-js@distributeaid/flexport-api@unbanked/zoopsnova-formjs-oldsnova-formjscrmcheap-formiojsmenxapi@tempicolabs/sdk@tempicolabs/tmlabsfetch-github-api@fetch-plus/ponyfilltinacmslibtwitch@everything-registry/sub-chunk-1659@process-engine/solutionexplorer.repository.processengine@process-engine/solutionexplorer.repository.processengine_datastore@process-engine/consumer_client@process-engine/bpmn-studio_client@doublegrey/formiojsxumm-sdkyellowant-sdkynab@dxlb/svelte-graphql-storeyuchuangda-formiojsweb-corewlsjswlsjs-stagingwordpress-rest-api-oauth-1-whatwg-fetchworld-heritageworld-heritage-imagewisperjstorrent-browsetextlint-rule-proofdicttisp-httpteson-formiojsts-route-schematrello-todo-syncuc-rn-v2-shared@evidentpoint/r2-utils-js@ezedox/formiojs@ezedoxbp/formiojs@enepti/alchemy-web3unum-formiojsvirgil-sdkvasion-formiojsvbb-positions-streamvbb-clientunicomformjstrinny-london@innoswap/core@innovexa/idc-formiojs@ipfs-shipyard/pinning-service-client@ipfs-shipyard/pinning-service-compliancet6-formiojstam-ccxtzoop-integrationzknight-roku-client@hackforplay/ide@derhuerst/query-overpasscms-client@distributeaid/flexport-sdkproofdictdb-pricesdolornumquamdogapi-testqcformiojsdinesh-formioptvce_formiojsqmkqloudformjsdigital-im-regio-portal-clientquery-fis-broker-wfsreactfbuilderreiciendisipsamresin-requestresin-fetch-mockrollup-plugin-velcroruntask-formiojsrxremotesequence-sdkromejsroku-clientrol-formiosfvalidatorsirixdbsof-json-rpc-middlewaresnack-sdksncf-wifi-portal-clientsmartformjssrhtstardogstable-torrent-browse@decentraweb/core
7.1.0

3 years ago

7.0.0

3 years ago

6.1.1

4 years ago

6.1.0

5 years ago

6.0.2

6 years ago

6.0.1

6 years ago

6.0.0

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago

4.1.0

7 years ago

4.0.0

7 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago

0.9.0

9 years ago

0.7.0

9 years ago

0.6.0

9 years ago

0.4.0

9 years ago

0.3.2

9 years ago