Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Node Fetch | 8,474 | 219,668 | 33,659 | 9 days ago | 94 | July 25, 2023 | 190 | mit | JavaScript | |
A light-weight module that brings the Fetch API to Node.js | ||||||||||
Wretch | 4,170 | 48 | 79 | 22 days ago | 68 | June 28, 2023 | 4 | mit | TypeScript | |
A tiny wrapper built around fetch with an intuitive syntax. :candy: | ||||||||||
Use Http | 2,277 | 5 | 35 | 4 months ago | 102 | May 04, 2023 | 85 | mit | TypeScript | |
🐶 React hook for making isomorphic http requests | ||||||||||
Http Client | 1,806 | 901 | 571 | 2 days ago | 183 | January 13, 2023 | mit | PHP | ||
Provides powerful methods to fetch HTTP resources synchronously or asynchronously | ||||||||||
Cross Fetch | 1,587 | 14,308 | 4,914 | 2 months ago | 49 | July 03, 2023 | 10 | mit | JavaScript | |
Universal WHATWG Fetch API for Node, Browsers and React Native. | ||||||||||
Fetch | 1,514 | 3 | 5 months ago | 3 | September 05, 2019 | 91 | apache-2.0 | Java | ||
The best file downloader library for Android | ||||||||||
Fetch Mock | 1,201 | 2,935 | 2,124 | 9 months ago | 204 | November 21, 2020 | 71 | mit | JavaScript | |
Mock http requests made using fetch | ||||||||||
Ngx Restangular | 786 | 86 | 13 | 2 years ago | 56 | August 14, 2020 | 27 | mit | TypeScript | |
Restangular for Angular 2 and higher versions | ||||||||||
Get Graphql Schema | 585 | 45 | 26 | 10 months ago | 6 | November 14, 2018 | 58 | TypeScript | ||
Fetch and print the GraphQL schema from a GraphQL HTTP endpoint. (Can be used for Relay Modern.) | ||||||||||
Apollo Fetch | 581 | 410 | 106 | 4 years ago | 10 | December 06, 2017 | 34 | mit | TypeScript | |
:dog: Lightweight GraphQL client that supports middleware and afterware |
Mock http requests made using fetch.
Features include:
New If using jest, try the new fetch-mock-jest wrapper.
New Cheatsheet
fetchMock.mock('http://example.com', 200);
const res = await fetch('http://example.com');
assert(res.ok);
fetchMock.restore();
I devote a lot of time to maintaining fetch-mock for free. I don't ask for payment, but am raising money for a refugee charity - please consider donating
fetch-mock requires the following to run:
fetch
API when testing in a browserSee the project website or cheatsheet
If you're using jest as your test runner, consider using fetch-mock-jest, a lightweight, jest-friendly wrapper around fetch-mock.
fetch-mock is licensed under the MIT license. Copyright © 2019, Rhys Evans