mirror of
https://github.com/Wessel/wumpfetch.git
synced 2026-06-06 07:35:42 +02:00
A lot has been renovated and some small things has been added to v0.3.0: * Added profiles (`getProfile`, `setProfile`, `setDefaults`) * Renamed `Collection` to `MemoryCollection` * Made `wumpfetch.userAgent` read-only * Renamed `__test__` to `tests` * Removed the `dist` folder * Changed the tab size from `4` to `2` in the declarations file and wumpfetch TS test file * Added JSdoc to `WumpRequest` and `WumpResponse` * Fixed up some of the weird spacing in `WumpRequest` and `WumpResponse` * Cleaned up all test files
1.6 KiB
1.6 KiB
Wumpfetch - A fast and easy to use HTTP client
Wumpfetch is a fast, lightweight and easy to use HTTP client for Node.JS.
Installing
$ yarn add wumpfetch # Install w/ Yarn
$ npm i wumpfetch # Install w/ NPM
Benchmarking
URL used for benchmarks: https://httpbin.org/get
| Library | 1 Request | 10 Requests | 100 Requests |
|---|---|---|---|
| Wumpfetch | 429.571ms | 4135.043ms | 42182.140ms |
| got | 420.319ms | 4163.749ms | 43634.187ms |
| axios | 437.274ms | 4168.437ms | 47437.898ms |
| node-fetch | 543.618ms | 4217.365ms | 43813.187ms |
Documentation
Documentation can be found at https://github.com/PassTheWessel/wumpfetch/wiki