fetch - A window.fetch JavaScript polyfill.

  •        132

The fetch() function is a Promise-based mechanism for programmatically making web requests in the browser. This project is a polyfill that implements a subset of the standard Fetch specification, enough to make fetch a viable replacement for most uses of XMLHttpRequest in traditional web applications.




Related Projects

fetch-jsonp - Make JSONP request like window.fetch

  •    Javascript

JSONP is NOT supported in standard Fetch API, https://fetch.spec.whatwg.org. fetch-jsonp provides you same API to fetch JSONP like native Fetch, also comes with global fetchJsonp function. If you need a fetch polyfill for old browsers, try github/fetch.

node-fetch - A light-weight module that brings window.fetch to Node.js

  •    Javascript

Instead of implementing XMLHttpRequest in Node.js to run browser-specific Fetch polyfill, why not go from native http to fetch API directly? Hence node-fetch, minimal code for a window.fetch compatible API on Node.js runtime.See Matt Andrews' isomorphic-fetch or Leonardo Quixada's cross-fetch for isomorphic usage (exports node-fetch for server-side, whatwg-fetch for client-side).

frisbee - :dog2: Modern fetch-based alternative to axios/superagent/request

  •    Javascript

tldr; Stripe-inspired API wrapper for WHATWG's fetch() method for making simple HTTP requests (alternative to superagent, request, axios).If you're using node-fetch, you need node-fetch@v1.5.3 to use form-data with files properly (due to https://github.com/bitinn/node-fetch/issues/102) If you experience form file upload issues, please see https://github.com/facebook/react-native/issues/7564#issuecomment-266323928.

wretch - A tiny wrapper built around fetch with an intuitive syntax. :candy:

  •    TypeScript

Wretch is compatible with modern browsers out of the box. For older environments without fetch support, you should get a polyfill.

isomorphic-fetch - Isomorphic WHATWG Fetch API, for Node & Browserify

  •    Javascript

Fetch for node and Browserify. Built on top of GitHub's WHATWG Fetch polyfill. For ease-of-maintenance and backward-compatibility reasons, this library will always be a polyfill. As a "safe" alternative, which does not modify the global, consider fetch-ponyfill.

react-native-fetch-blob - A project committed to making file access and data transfer easier, efficient for React Native developers

  •    Javascript

wkh237's last Github activity was in September 2017, and he has not reacted to emails either. This repository no longer is the main location of "react-native-fetch-blob". That means issues and PRs should be posted there.

react-relay-network-layer - ReactRelayNetworkLayer with middlewares and query batching for Relay Classic

  •    Javascript

The ReactRelayNetworkLayer is a Relay Network Layer with various middlewares which can manipulate requests/responses on the fly (change auth headers, request url or perform some fallback if request fails), batch several relay request by timeout into one http request. ReactRelayNetworkLayer can be used in browser, react-native or node server for rendering. Under the hood this module uses global fetch method. So if your client is too old, please import explicitly proper polyfill to your code (eg. whatwg-fetch, node-fetch or fetch-everywhere).

promise-polyfill - Lightweight ES6 Promise polyfill for the browser and node. A+ Compliant

  •    Javascript

Lightweight ES6 Promise polyfill for the browser and node. Adheres closely to the spec. It is a perfect polyfill IE, Firefox or any other browser that does not support native promises. For API information about Promises, please check out this article HTML5Rocks article.

GOT - Human-friendly and powerful HTTP request library for Node.js

  •    Typescript

Human-friendly and powerful HTTP request library for Node.js. It is almost API compatible with the browser fetch API. It supports Promise API, Stream API, HTTPS/2 support, Progress events and Hooks.

react-native-background-fetch - Periodic callbacks in the background for both IOS and Android

  •    Javascript

Background Fetch is a very simple plugin which will awaken an app in the background about every 15 minutes, providing a short period of background running-time. This plugin will execute your provided callbackFn whenever a background-fetch event occurs. There is no way to increase the rate which a fetch-event occurs and this plugin sets the rate to the most frequent possible — you will never receive an event faster than 15 minutes. The operating-system will automatically throttle the rate the background-fetch events occur based upon usage patterns. Eg: if user hasn't turned on their phone for a long period of time, fetch events will occur less frequently.

apollo-fetch - :dog: Lightweight GraphQL client that supports middleware and afterware

  •    TypeScript

apollo-fetch is a lightweight client for GraphQL requests that supports middleware and afterware that modify requests and responses.By default apollo-fetch uses isomorphic-fetch, but you have the option of using a custom fetch function.

fetch-examples - A repository of Fetch examples

  •    HTML

A repository of Fetch examples. See https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API for the corresponding documentation.

fetch-mock - Mock http requests made using fetch

  •    Javascript

Mock http requests made using fetch (or isomorphic-fetch)

fetch-it - An enhanced HTTP client based on fetch.

  •    Javascript

An enhanced HTTP client based on fetch. You can perform requests the same way as you do with fetch().

load-asset - Loads a single or multiple assets and returns a promise.

  •    Javascript

A simple Promise-based asset loader with cross browser support down to IE 11. Ideal for use with async/await syntax. Uses fetch where possible, otherwise falls back to XMLHTTPRequest. Tries to infer loader type from extension, but you can also specify a type for other extensions – see Loaders for details.

use-asset - 📦 A promise caching strategy for React Suspense

  •    TypeScript

Each asset you create comes with its own cache. When you request something from it, the arguments that you pass will act as cache-keys. If you request later on using the same keys, it won't have to re-fetch but serves the result that it already knows. You can also use the useAsset hook, which is modelled after react-promise-suspense. This makes it possible to define assets on the spot instead of having to define them externally. They use a global cache, anything you request at any time is written into it.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.