← All repos

cross-fetch

Universal WHATWG Fetch API for Node, Browsers and React Native.

cross-fetchfetchfetch-apihttphttp-clientisomorphicisomorphic-fetchnode-fetchspec-compliantwhatwg-fetch
Browse cluster: OCaml Systems and Utilities
689commits
21contributors
5languages

Tech stack & purpose

cross-fetch is a universal implementation of the WHATWG Fetch API that works across Node, browsers, workers, and React Native, solving the problem of running the same JavaScript codebase on different platforms. Built as a proxy that delivers the appropriate fetch implementation for each environment (node-fetch for Node, whatwg-fetch for browsers and React Native), it offers both ponyfill and polyfill options with TypeScript support. The project is authored by Leonardo Quixadá and is licensed under MIT.

Languages

JavaScript
52.5%
TypeScript
30.9%
HTML
8.4%
Shell
4.1%
Makefile
4.1%

Contributors