Universal WHATWG Fetch API for Node, Browsers and React Native.
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.