rock-req 5.2.0 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,17 +57,17 @@ Stop using "slow-by-default" and "false-light" HTTP request libraries!
|
|
|
57
57
|
**2025-11-14 on MacBook Pro M4 Max with all dependencies updated on this date**
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
| Library | NodeJS 22
|
|
61
|
-
|
|
62
|
-
| rock-req 🙋♂️ | 26842
|
|
63
|
-
| simple-get | 26532
|
|
64
|
-
| axios | 4110
|
|
65
|
-
| got | 14786
|
|
66
|
-
| fetch | 15676
|
|
67
|
-
| request | 17102
|
|
68
|
-
| superagent | 3862
|
|
69
|
-
| phin | 15549
|
|
70
|
-
| _undici_* | 32480
|
|
60
|
+
| Library | NodeJS 22 | NodeJS 24 | NodeJS 25 | Bun v1.3.2 | LOC (2025/2023) |
|
|
61
|
+
|--------------|-----------:|------------:|---------:|-----------:|----------------:|
|
|
62
|
+
| rock-req 🙋♂️ | 26842 ops | 26782 ops | 26179 ops | 21229 ops | 152 (+5%) |
|
|
63
|
+
| simple-get | 26532 ops | 26802 ops | 25954 ops | 21187 ops | 317 (+0%) |
|
|
64
|
+
| axios | 4110 ops | 3999 ops | 3996 ops | 14788 ops | 19883 (+42%) |
|
|
65
|
+
| got | 14786 ops | 15234 ops | 15149 ops | 15287 ops | 16904 (+83%) |
|
|
66
|
+
| fetch | 15676 ops | 16252 ops | 15784 ops | 27675 ops | 54211 (+306%) |
|
|
67
|
+
| request | 17102 ops | 14586 ops | 14346 ops | 18202 ops | 58057 (+24%) |
|
|
68
|
+
| superagent | 3862 ops | 3979 ops | 3889 ops | 19271 ops | 31913 (+98%) |
|
|
69
|
+
| phin | 15549 ops | 14160 ops | 13915 ops | 15430 ops | 20064 (+5960%) |
|
|
70
|
+
| _undici_* | 32480 ops | 33272 ops | 32738 ops | 25961 ops | 23235 (+43%) |
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
**2023-04-19 on Macbook Pro M1 Max with all dependencies updated on this date**
|
|
@@ -75,16 +75,19 @@ Stop using "slow-by-default" and "false-light" HTTP request libraries!
|
|
|
75
75
|
|
|
76
76
|
| Library | NodeJS 16 | NodeJS 18 | NodeJS 20* | Size deps inc. |
|
|
77
77
|
| ------------ |--------------:|--------------:| --------------:| --------------:|
|
|
78
|
-
| rock-req 🙋♂️ | 22816
|
|
79
|
-
| simple-get | 2937
|
|
80
|
-
| axios | 5090
|
|
81
|
-
| got | 2163
|
|
82
|
-
| fetch | 2101
|
|
83
|
-
| request | 2249
|
|
84
|
-
| superagent | 2776
|
|
85
|
-
| phin | 3178
|
|
86
|
-
| _undici_* | 24095
|
|
87
|
-
|
|
78
|
+
| rock-req 🙋♂️ | 22816 ops | 21797 ops | 21964 ops | 144 LOC |
|
|
79
|
+
| simple-get | 2937 ops | 3260 ops | 21258 ops | 317 LOC |
|
|
80
|
+
| axios | 5090 ops | 4910 ops | 3196 ops | 13983 LOC |
|
|
81
|
+
| got | 2163 ops | 1762 ops | 9961 ops | 9227 LOC |
|
|
82
|
+
| fetch | 2101 ops | 2102 ops | 2020 ops | 13334 LOC |
|
|
83
|
+
| request | 2249 ops | 1869 ops | 15815 ops | 46572 LOC |
|
|
84
|
+
| superagent | 2776 ops | 2100 ops | 2895 ops | 16109 LOC |
|
|
85
|
+
| phin | 3178 ops | 1164 ops | 21299 ops | 331 LOC |
|
|
86
|
+
| _undici_* | 24095 ops | 24378 ops | 24191 ops | 16225 LOC |
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
> `LOC` = Lines of Code, including dependencies (excluding dev dependencies)
|
|
90
|
+
> `ops` = request per second
|
|
88
91
|
|
|
89
92
|
> Since Node.js 20, HTTP keep-alive is activated by default, just like in `rock-req`. This improves the overall performance of all frameworks.
|
|
90
93
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rock-req",
|
|
3
3
|
"description": "Ultra-light (150 LOC, No dependencies) & Ultra-fast request library with reliable retry on failure, http/https, redirects, gzip/deflate/brotli, extensible, proxy, streams, JSON mode, forms, timeout",
|
|
4
|
-
"version": "5.2.
|
|
4
|
+
"version": "5.2.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "David Grelaud & Feross Aboukhadijeh"
|
|
7
7
|
},
|