Ky - Tiny and elegant HTTP client based on the browser Fetch API

  •        369

Ky is a tiny and elegant HTTP client based on the browser Fetch API.

https://github.com/sindresorhus/ky

Tags
Implementation
License
Platform

   




Related Projects

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.

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).

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.

gaxios - An HTTP request client that provides an axios like interface over top of node-fetch

  •    TypeScript

An HTTP request client that provides an axios like interface over top of node-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).

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.

FakeRest - Patch fetch/XMLHttpRequest to fake a REST API server in the browser, based on JSON data.

  •    Javascript

Intercept AJAX calls to fake a REST server based on JSON data. Use it on top of Sinon.js (for XMLHTTPRequest) or fetch-mock (for fetch) to test JavaScript REST clients on the browser side (e.g. single page apps) without a server. FakeRest uses a standard REST flavor, described below.

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.

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().

fetch

  •    C

fetch is a simple, fast, and flexible HTTP download tool built on the HTTP Fetcher library. fetch allows you to customize your request by changing the User Agent and Referer presented to the webserver, and also supports proxy servers.

Phin - The ultra-lightweight Node.js HTTP client

  •    Javascript

phin is trusted by some really important projects. The hundreds of contributors at Less, for example, depend on phin as part of their development process.Also, phin is super lightweight. Like 99.6% smaller than request lightweight.

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.

graphql-request - Minimal GraphQL client supporting Node and browsers for scripts or simple apps

  •    TypeScript

Send a GraphQL query with a single line of code. ▶️ Try it out. You are free to try using other versions of Node (e.g. 13.x) with graphql-request but at your own risk.

fetch-suspense - A React hook compatible with React 16.6's Suspense component.

  •    TypeScript

useFetch is a React hook that supports the React 16.6 Suspense component implementation. The design decisions and development process for this package are outlined in the Medium article React Suspense with the Fetch API.

RestSharp - Simple REST and HTTP API Client for .NET

  •    CSharp

RestSharp is probably the most popular HTTP client library for .NET. Featuring automatic serialization and deserialization, request and response type detection, variety of authentications and other useful features, it is being used by hundreds of thousands of projects. RestSharp passed over 32 million downloads on NuGet, with average daily download count of 10,000. It's being used by many popular OSS projects, including Roslyn and Swagger.

fetchival - Easy window.fetch requests

  •    Javascript

Fetchival is a tiny (0.5kb min/gz) fetch wrapper that can be used in the browser (IE9+) and Node..get(), .put(), .patch() and .delete() methods are also available.

csonv.js - A tiny library to fetch relational CSV data at client-side just like JSON

  •    Javascript

A tiny library to fetch relational CSV data at client-side just like JSON






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.