Skip to content

Commit 7daa9af

Browse files
authored
Remove deprecated request from comparison table
1 parent e24b896 commit 7daa9af

File tree

1 file changed

+32
-55
lines changed

1 file changed

+32
-55
lines changed

readme.md

+32-55
Original file line numberDiff line numberDiff line change
@@ -188,38 +188,38 @@ By default, Got will retry on failure. To disable this option, set [`options.ret
188188

189189
## Comparison
190190

191-
| | `got` | [`request`][r0] | [`node-fetch`][n0] | [`ky`][k0] | [`axios`][a0] | [`superagent`][s0] |
192-
|-----------------------|:-------------------:|:------------------:|:--------------------:|:------------------------:|:------------------:|:----------------------:|
193-
| HTTP/2 support | :heavy_check_mark:¹ | :x: | :x: | :x: | :x: | :heavy_check_mark:\*\* |
194-
| Browser support | :x: | :x: | :heavy_check_mark:\* | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
195-
| Promise API | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
196-
| Stream API | :heavy_check_mark: | :heavy_check_mark: | Node.js only | :x: | :x: | :heavy_check_mark: |
197-
| Pagination API | :heavy_check_mark: | :x: | :x: | :x: | :x: | :x: |
198-
| Request cancelation | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
199-
| RFC compliant caching | :heavy_check_mark: | :x: | :x: | :x: | :x: | :x: |
200-
| Cookies (out-of-box) | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | :x: | :x: |
201-
| Follows redirects | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
202-
| Retries on failure | :heavy_check_mark: | :x: | :x: | :heavy_check_mark: | :x: | :heavy_check_mark: |
203-
| Progress events | :heavy_check_mark: | :x: | :x: | :heavy_check_mark:\*\*\* | Browser only | :heavy_check_mark: |
204-
| Handles gzip/deflate | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
205-
| Advanced timeouts | :heavy_check_mark: | :x: | :x: | :x: | :x: | :x: |
206-
| Timings | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | :x: | :x: |
207-
| Errors with metadata | :heavy_check_mark: | :x: | :x: | :heavy_check_mark: | :heavy_check_mark: | :x: |
208-
| JSON mode | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
209-
| Custom defaults | :heavy_check_mark: | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :x: |
210-
| Composable | :heavy_check_mark: | :x: | :x: | :x: | :x: | :heavy_check_mark: |
211-
| Hooks | :heavy_check_mark: | :x: | :x: | :heavy_check_mark: | :heavy_check_mark: | :x: |
212-
| Issues open | [![][gio]][g1] | [![][rio]][r1] | [![][nio]][n1] | [![][kio]][k1] | [![][aio]][a1] | [![][sio]][s1] |
213-
| Issues closed | [![][gic]][g2] | [![][ric]][r2] | [![][nic]][n2] | [![][kic]][k2] | [![][aic]][a2] | [![][sic]][s2] |
214-
| Downloads | [![][gd]][g3] | [![][rd]][r3] | [![][nd]][n3] | [![][kd]][k3] | [![][ad]][a3] | [![][sd]][s3] |
215-
| Coverage | TBD | [![][rc]][r4] | [![][nc]][n4] | [![][kc]][k4] | [![][ac]][a4] | [![][sc]][s4] |
216-
| Build | [![][gb]][g5] | [![][rb]][r5] | [![][nb]][n5] | [![][kb]][k5] | [![][ab]][a5] | [![][sb]][s5] |
217-
| Bugs | [![][gbg]][g6] | [![][rbg]][r6] | [![][nbg]][n6] | [![][kbg]][k6] | [![][abg]][a6] | [![][sbg]][s6] |
218-
| Dependents | [![][gdp]][g7] | [![][rdp]][r7] | [![][ndp]][n7] | [![][kdp]][k7] | [![][adp]][a7] | [![][sdp]][s7] |
219-
| Install size | [![][gis]][g8] | [![][ris]][r8] | [![][nis]][n8] | [![][kis]][k8] | [![][ais]][a8] | [![][sis]][s8] |
220-
| GitHub stars | [![][gs]][g9] | [![][rs]][r9] | [![][ns]][n9] | [![][ks]][k9] | [![][as]][a9] | [![][ss]][s9] |
221-
| TypeScript support | [![][gts]][g10] | [![][rts]][r10] | [![][nts]][n10] | [![][kts]][k10] | [![][ats]][a10] | [![][sts]][s11] |
222-
| Last commit | [![][glc]][g11] | [![][rlc]][r11] | [![][nlc]][n11] | [![][klc]][k11] | [![][alc]][a11] | [![][slc]][s11] |
191+
| | `got` | [`node-fetch`][n0] | [`ky`][k0] | [`axios`][a0] | [`superagent`][s0] |
192+
|-----------------------|:-------------------:|:--------------------:|:------------------------:|:------------------:|:----------------------:|
193+
| HTTP/2 support | :heavy_check_mark:¹ | :x: | :x: | :x: | :heavy_check_mark:\*\* |
194+
| Browser support | :x: | :heavy_check_mark:\* | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
195+
| Promise API | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
196+
| Stream API | :heavy_check_mark: | Node.js only | :x: | :x: | :heavy_check_mark: |
197+
| Pagination API | :heavy_check_mark: | :x: | :x: | :x: | :x: |
198+
| Request cancelation | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
199+
| RFC compliant caching | :heavy_check_mark: | :x: | :x: | :x: | :x: |
200+
| Cookies (out-of-box) | :heavy_check_mark: | :x: | :x: | :x: | :x: |
201+
| Follows redirects | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
202+
| Retries on failure | :heavy_check_mark: | :x: | :heavy_check_mark: | :x: | :heavy_check_mark: |
203+
| Progress events | :heavy_check_mark: | :x: | :heavy_check_mark:\*\*\* | Browser only | :heavy_check_mark: |
204+
| Handles gzip/deflate | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
205+
| Advanced timeouts | :heavy_check_mark: | :x: | :x: | :x: | :x: |
206+
| Timings | :heavy_check_mark: | :x: | :x: | :x: | :x: |
207+
| Errors with metadata | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :x: |
208+
| JSON mode | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
209+
| Custom defaults | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :x: |
210+
| Composable | :heavy_check_mark: | :x: | :x: | :x: | :heavy_check_mark: |
211+
| Hooks | :heavy_check_mark: | :x: | :heavy_check_mark: | :heavy_check_mark: | :x: |
212+
| Issues open | [![][gio]][g1] | [![][nio]][n1] | [![][kio]][k1] | [![][aio]][a1] | [![][sio]][s1] |
213+
| Issues closed | [![][gic]][g2] | [![][nic]][n2] | [![][kic]][k2] | [![][aic]][a2] | [![][sic]][s2] |
214+
| Downloads | [![][gd]][g3] | [![][nd]][n3] | [![][kd]][k3] | [![][ad]][a3] | [![][sd]][s3] |
215+
| Coverage | TBD | [![][nc]][n4] | [![][kc]][k4] | [![][ac]][a4] | [![][sc]][s4] |
216+
| Build | [![][gb]][g5] | [![][nb]][n5] | [![][kb]][k5] | [![][ab]][a5] | [![][sb]][s5] |
217+
| Bugs | [![][gbg]][g6] | [![][nbg]][n6] | [![][kbg]][k6] | [![][abg]][a6] | [![][sbg]][s6] |
218+
| Dependents | [![][gdp]][g7] | [![][ndp]][n7] | [![][kdp]][k7] | [![][adp]][a7] | [![][sdp]][s7] |
219+
| Install size | [![][gis]][g8] | [![][nis]][n8] | [![][kis]][k8] | [![][ais]][a8] | [![][sis]][s8] |
220+
| GitHub stars | [![][gs]][g9] | [![][ns]][n9] | [![][ks]][k9] | [![][as]][a9] | [![][ss]][s9] |
221+
| TypeScript support | [![][gts]][g10] | [![][nts]][n10] | [![][kts]][k10] | [![][ats]][a10] | [![][sts]][s11] |
222+
| Last commit | [![][glc]][g11] | [![][nlc]][n11] | [![][klc]][k11] | [![][alc]][a11] | [![][slc]][s11] |
223223

224224
\* It's almost API compatible with the browser `fetch` API.\
225225
\*\* Need to switch the protocol manually. Doesn't accept PUSH streams and doesn't reuse HTTP/2 sessions.\
@@ -230,172 +230,149 @@ By default, Got will retry on failure. To disable this option, set [`options.ret
230230

231231
<!-- GITHUB -->
232232
[k0]: https://github.com/sindresorhus/ky
233-
[r0]: https://github.com/request/request
234233
[n0]: https://github.com/node-fetch/node-fetch
235234
[a0]: https://github.com/axios/axios
236235
[s0]: https://github.com/visionmedia/superagent
237236

238237
<!-- ISSUES OPEN -->
239238
[gio]: https://img.shields.io/github/issues-raw/sindresorhus/got?color=gray&label
240239
[kio]: https://img.shields.io/github/issues-raw/sindresorhus/ky?color=gray&label
241-
[rio]: https://img.shields.io/github/issues-raw/request/request?color=gray&label
242240
[nio]: https://img.shields.io/github/issues-raw/bitinn/node-fetch?color=gray&label
243241
[aio]: https://img.shields.io/github/issues-raw/axios/axios?color=gray&label
244242
[sio]: https://img.shields.io/github/issues-raw/visionmedia/superagent?color=gray&label
245243

246244
[g1]: https://github.com/sindresorhus/got/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
247245
[k1]: https://github.com/sindresorhus/ky/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
248-
[r1]: https://github.com/request/request/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
249246
[n1]: https://github.com/bitinn/node-fetch/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
250247
[a1]: https://github.com/axios/axios/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
251248
[s1]: https://github.com/visionmedia/superagent/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
252249

253250
<!-- ISSUES CLOSED -->
254251
[gic]: https://img.shields.io/github/issues-closed-raw/sindresorhus/got?color=blue&label
255252
[kic]: https://img.shields.io/github/issues-closed-raw/sindresorhus/ky?color=blue&label
256-
[ric]: https://img.shields.io/github/issues-closed-raw/request/request?color=blue&label
257253
[nic]: https://img.shields.io/github/issues-closed-raw/bitinn/node-fetch?color=blue&label
258254
[aic]: https://img.shields.io/github/issues-closed-raw/axios/axios?color=blue&label
259255
[sic]: https://img.shields.io/github/issues-closed-raw/visionmedia/superagent?color=blue&label
260256

261257
[g2]: https://github.com/sindresorhus/got/issues?q=is%3Aissue+is%3Aclosed+sort%3Aupdated-desc
262258
[k2]: https://github.com/sindresorhus/ky/issues?q=is%3Aissue+is%3Aclosed+sort%3Aupdated-desc
263-
[r2]: https://github.com/request/request/issues?q=is%3Aissue+is%3Aclosed+sort%3Aupdated-desc
264259
[n2]: https://github.com/bitinn/node-fetch/issues?q=is%3Aissue+is%3Aclosed+sort%3Aupdated-desc
265260
[a2]: https://github.com/axios/axios/issues?q=is%3Aissue+is%3Aclosed+sort%3Aupdated-desc
266261
[s2]: https://github.com/visionmedia/superagent/issues?q=is%3Aissue+is%3Aclosed+sort%3Aupdated-desc
267262

268263
<!-- DOWNLOADS -->
269264
[gd]: https://img.shields.io/npm/dm/got?color=darkgreen&label
270265
[kd]: https://img.shields.io/npm/dm/ky?color=darkgreen&label
271-
[rd]: https://img.shields.io/npm/dm/request?color=darkgreen&label
272266
[nd]: https://img.shields.io/npm/dm/node-fetch?color=darkgreen&label
273267
[ad]: https://img.shields.io/npm/dm/axios?color=darkgreen&label
274268
[sd]: https://img.shields.io/npm/dm/superagent?color=darkgreen&label
275269

276270
[g3]: https://www.npmjs.com/package/got
277271
[k3]: https://www.npmjs.com/package/ky
278-
[r3]: https://www.npmjs.com/package/request
279272
[n3]: https://www.npmjs.com/package/node-fetch
280273
[a3]: https://www.npmjs.com/package/axios
281274
[s3]: https://www.npmjs.com/package/superagent
282275

283276
<!-- COVERAGE -->
284277
[gc]: https://img.shields.io/coveralls/github/sindresorhus/got?color=0b9062&label
285278
[kc]: https://img.shields.io/codecov/c/github/sindresorhus/ky?color=0b9062&label
286-
[rc]: https://img.shields.io/coveralls/github/request/request?color=0b9062&label
287279
[nc]: https://img.shields.io/coveralls/github/bitinn/node-fetch?color=0b9062&label
288280
[ac]: https://img.shields.io/coveralls/github/mzabriskie/axios?color=0b9062&label
289281
[sc]: https://img.shields.io/codecov/c/github/visionmedia/superagent?color=0b9062&label
290282

291283
[g4]: https://coveralls.io/github/sindresorhus/got
292284
[k4]: https://codecov.io/gh/sindresorhus/ky
293-
[r4]: https://coveralls.io/github/request/request
294285
[n4]: https://coveralls.io/github/bitinn/node-fetch
295286
[a4]: https://coveralls.io/github/mzabriskie/axios
296287
[s4]: https://codecov.io/gh/visionmedia/superagent
297288

298289
<!-- BUILD -->
299290
[gb]: https://github.com/sindresorhus/got/actions/workflows/main.yml/badge.svg
300291
[kb]: https://github.com/sindresorhus/ky/actions/workflows/main.yml/badge.svg
301-
[rb]: https://img.shields.io/travis/request/request?label
302292
[nb]: https://img.shields.io/travis/bitinn/node-fetch?label
303293
[ab]: https://img.shields.io/travis/axios/axios?label
304294
[sb]: https://img.shields.io/travis/visionmedia/superagent?label
305295

306296
[g5]: https://github.com/sindresorhus/got/actions/workflows/main.yml
307297
[k5]: https://github.com/sindresorhus/ky/actions/workflows/main.yml
308-
[r5]: https://travis-ci.org/github/request/request
309298
[n5]: https://travis-ci.org/github/bitinn/node-fetch
310299
[a5]: https://travis-ci.org/github/axios/axios
311300
[s5]: https://travis-ci.org/github/visionmedia/superagent
312301

313302
<!-- BUGS -->
314303
[gbg]: https://img.shields.io/github/issues-raw/sindresorhus/got/bug?color=darkred&label
315304
[kbg]: https://img.shields.io/github/issues-raw/sindresorhus/ky/bug?color=darkred&label
316-
[rbg]: https://img.shields.io/github/issues-raw/request/request/Needs%20investigation?color=darkred&label
317305
[nbg]: https://img.shields.io/github/issues-raw/bitinn/node-fetch/bug?color=darkred&label
318306
[abg]: https://img.shields.io/github/issues-raw/axios/axios/type:confirmed%20bug?color=darkred&label
319307
[sbg]: https://img.shields.io/github/issues-raw/visionmedia/superagent/Bug?color=darkred&label
320308

321309
[g6]: https://github.com/sindresorhus/got/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug
322310
[k6]: https://github.com/sindresorhus/ky/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug
323-
[r6]: https://github.com/request/request/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A"Needs+investigation"
324311
[n6]: https://github.com/bitinn/node-fetch/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug
325312
[a6]: https://github.com/axios/axios/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22type%3Aconfirmed+bug%22
326313
[s6]: https://github.com/visionmedia/superagent/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3ABug
327314

328315
<!-- DEPENDENTS -->
329316
[gdp]: https://badgen.net/npm/dependents/got?color=orange&label
330317
[kdp]: https://badgen.net/npm/dependents/ky?color=orange&label
331-
[rdp]: https://badgen.net/npm/dependents/request?color=orange&label
332318
[ndp]: https://badgen.net/npm/dependents/node-fetch?color=orange&label
333319
[adp]: https://badgen.net/npm/dependents/axios?color=orange&label
334320
[sdp]: https://badgen.net/npm/dependents/superagent?color=orange&label
335321

336322
[g7]: https://www.npmjs.com/package/got?activeTab=dependents
337323
[k7]: https://www.npmjs.com/package/ky?activeTab=dependents
338-
[r7]: https://www.npmjs.com/package/request?activeTab=dependents
339324
[n7]: https://www.npmjs.com/package/node-fetch?activeTab=dependents
340325
[a7]: https://www.npmjs.com/package/axios?activeTab=dependents
341326
[s7]: https://www.npmjs.com/package/visionmedia?activeTab=dependents
342327

343328
<!-- INSTALL SIZE -->
344329
[gis]: https://badgen.net/packagephobia/install/got?color=blue&label
345330
[kis]: https://badgen.net/packagephobia/install/ky?color=blue&label
346-
[ris]: https://badgen.net/packagephobia/install/request?color=blue&label
347331
[nis]: https://badgen.net/packagephobia/install/node-fetch?color=blue&label
348332
[ais]: https://badgen.net/packagephobia/install/axios?color=blue&label
349333
[sis]: https://badgen.net/packagephobia/install/superagent?color=blue&label
350334

351335
[g8]: https://packagephobia.com/result?p=got
352336
[k8]: https://packagephobia.com/result?p=ky
353-
[r8]: https://packagephobia.com/result?p=request
354337
[n8]: https://packagephobia.com/result?p=node-fetch
355338
[a8]: https://packagephobia.com/result?p=axios
356339
[s8]: https://packagephobia.com/result?p=superagent
357340

358341
<!-- GITHUB STARS -->
359342
[gs]: https://img.shields.io/github/stars/sindresorhus/got?color=white&label
360343
[ks]: https://img.shields.io/github/stars/sindresorhus/ky?color=white&label
361-
[rs]: https://img.shields.io/github/stars/request/request?color=white&label
362344
[ns]: https://img.shields.io/github/stars/bitinn/node-fetch?color=white&label
363345
[as]: https://img.shields.io/github/stars/axios/axios?color=white&label
364346
[ss]: https://img.shields.io/github/stars/visionmedia/superagent?color=white&label
365347

366348
[g9]: https://github.com/sindresorhus/got
367349
[k9]: https://github.com/sindresorhus/ky
368-
[r9]: https://github.com/request/request
369350
[n9]: https://github.com/node-fetch/node-fetch
370351
[a9]: https://github.com/axios/axios
371352
[s9]: https://github.com/visionmedia/superagent
372353

373354
<!-- TYPESCRIPT SUPPORT -->
374355
[gts]: https://badgen.net/npm/types/got?label
375356
[kts]: https://badgen.net/npm/types/ky?label
376-
[rts]: https://badgen.net/npm/types/request?label
377357
[nts]: https://badgen.net/npm/types/node-fetch?label
378358
[ats]: https://badgen.net/npm/types/axios?label
379359
[sts]: https://badgen.net/npm/types/superagent?label
380360

381361
[g10]: https://github.com/sindresorhus/got
382362
[k10]: https://github.com/sindresorhus/ky
383-
[r10]: https://github.com/request/request
384363
[n10]: https://github.com/node-fetch/node-fetch
385364
[a10]: https://github.com/axios/axios
386365
[s10]: https://github.com/visionmedia/superagent
387366

388367
<!-- LAST COMMIT -->
389368
[glc]: https://img.shields.io/github/last-commit/sindresorhus/got?color=gray&label
390369
[klc]: https://img.shields.io/github/last-commit/sindresorhus/ky?color=gray&label
391-
[rlc]: https://img.shields.io/github/last-commit/request/request?color=gray&label
392370
[nlc]: https://img.shields.io/github/last-commit/bitinn/node-fetch?color=gray&label
393371
[alc]: https://img.shields.io/github/last-commit/axios/axios?color=gray&label
394372
[slc]: https://img.shields.io/github/last-commit/visionmedia/superagent?color=gray&label
395373

396374
[g11]: https://github.com/sindresorhus/got/commits
397375
[k11]: https://github.com/sindresorhus/ky/commits
398-
[r11]: https://github.com/request/request/commits
399376
[n11]: https://github.com/node-fetch/node-fetch/commits
400377
[a11]: https://github.com/axios/axios/commits
401378
[s11]: https://github.com/visionmedia/superagent/commits

0 commit comments

Comments
 (0)