Skip to content

Commit 877a6c1

Browse files
authoredJan 4, 2019
Remove badge labels from the Comparison section
1 parent 5653c1a commit 877a6c1

File tree

1 file changed

+106
-61
lines changed

1 file changed

+106
-61
lines changed
 

‎readme.md

+106-61
Original file line numberDiff line numberDiff line change
@@ -1033,86 +1033,131 @@ const h2got = got.extend({request});
10331033

10341034
## Comparison
10351035

1036-
| | `got` | `request` | `node-fetch` | `axios` |
1037-
|-----------------------|:------------:|:------------:|:------------:|:------------:|
1038-
| HTTP/2 support |||| |
1039-
| Browser support |||\* | |
1040-
| Electron support |||| |
1041-
| Promise API |||| |
1042-
| Stream API ||| Node.js only | |
1043-
| Request cancelation |||| |
1044-
| RFC compliant caching |||| |
1045-
| Cookies (out-of-box) |||| |
1046-
| Follows redirects |||| |
1047-
| Retries on failure |||| |
1048-
| Progress events |||| Browser only |
1049-
| Handles gzip/deflate |||| |
1050-
| Advanced timeouts |||| |
1051-
| Timings |||| |
1052-
| Errors with metadata |||| |
1053-
| JSON mode |||| |
1054-
| Custom defaults |||| |
1055-
| Composable |||| |
1056-
| Hooks |||| |
1057-
| Issues open | ![][gio] | ![][rio] | ![][nio] | ![][aio] |
1058-
| Issues closed | ![][gic] | ![][ric] | ![][nic] | ![][aic] |
1059-
| Downloads | ![][gd] | ![][rd] | ![][nd] | ![][ad] |
1060-
| Coverage | ![][gc] | ![][rc] | ![][nc] | ![][ac] |
1061-
| Build | ![][gb] | ![][rb] | ![][nb] | ![][ab] |
1062-
| Bugs | ![][gbg] | ![][rbg] | ![][nbg] | ![][abg] |
1063-
| Dependents | ![][gdp] | ![][rdp] | ![][ndp] | ![][adp] |
1064-
| Install size | ![][gis] | ![][ris] | ![][nis] | ![][ais] |
1036+
| | `got` | [`request`][r0] | [`node-fetch`][n0] | [`axios`][a0] |
1037+
|-----------------------|:--------------:|:---------------:|:------------------:|:---------------:|
1038+
| HTTP/2 support | | | | |
1039+
| Browser support | | | \* | |
1040+
| Electron support | | | | |
1041+
| Promise API | | | | |
1042+
| Stream API | | | Node.js only | |
1043+
| Request cancelation | | | | |
1044+
| RFC compliant caching | | | | |
1045+
| Cookies (out-of-box) | | | | |
1046+
| Follows redirects | | | | |
1047+
| Retries on failure | | | | |
1048+
| Progress events | | | | Browser only |
1049+
| Handles gzip/deflate | | | | |
1050+
| Advanced timeouts | | | | |
1051+
| Timings | | | | |
1052+
| Errors with metadata | | | | |
1053+
| JSON mode | | | | |
1054+
| Custom defaults | | | | |
1055+
| Composable | | | | |
1056+
| Hooks | | | | |
1057+
| Issues open | [![][gio]][g1] | [![][rio]][r1] | [![][nio]][n1] | [![][aio]][a1] |
1058+
| Issues closed | [![][gic]][g2] | [![][ric]][r2] | [![][nic]][n2] | [![][aic]][a2] |
1059+
| Downloads | [![][gd]][g3] | [![][rd]][r3] | [![][nd]][n3] | [![][ad]][a3] |
1060+
| Coverage | [![][gc]][g4] | [![][rc]][r4] | [![][nc]][n4] | [![][ac]][a4] |
1061+
| Build | [![][gb]][g5] | [![][rb]][r5] | [![][nb]][n5] | [![][ab]][a5] |
1062+
| Bugs | [![][gbg]][g6] | [![][rbg]][r6] | [![][nbg]][n6] | [![][abg]][a6] |
1063+
| Dependents | [![][gdp]][g7] | [![][rdp]][r7] | [![][ndp]][n7] | [![][adp]][a7] |
1064+
| Install size | [![][gis]][g8] | [![][ris]][r8] | [![][nis]][n8] | [![][ais]][a8] |
10651065

10661066
\* It's almost API compatible with the browser `fetch` API.<br>
10671067
❔ Experimental support.
10681068

1069+
<!-- GITHUB -->
1070+
[r0]: https://github.com/request/request
1071+
[n0]: https://github.com/bitinn/node-fetch
1072+
[a0]: https://github.com/axios/axios
1073+
10691074
<!-- ISSUES OPEN -->
1070-
[gio]: https://img.shields.io/github/issues/sindresorhus/got.svg
1071-
[rio]: https://img.shields.io/github/issues/request/request.svg
1072-
[nio]: https://img.shields.io/github/issues/bitinn/node-fetch.svg
1073-
[aio]: https://img.shields.io/github/issues/axios/axios.svg
1075+
[gio]: https://badgen.net/github/open-issues/sindresorhus/got?label
1076+
[rio]: https://badgen.net/github/open-issues/request/request?label
1077+
[nio]: https://badgen.net/github/open-issues/bitinn/node-fetch?label
1078+
[aio]: https://badgen.net/github/open-issues/axios/axios?label
1079+
1080+
[g1]: https://github.com/sindresorhus/got/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
1081+
[r1]: https://github.com/request/request/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
1082+
[n1]: https://github.com/bitinn/node-fetch/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
1083+
[a1]: https://github.com/axios/axios/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
10741084

10751085
<!-- ISSUES CLOSED -->
1076-
[gic]: https://img.shields.io/github/issues-closed/sindresorhus/got.svg
1077-
[ric]: https://img.shields.io/github/issues-closed/request/request.svg
1078-
[nic]: https://img.shields.io/github/issues-closed/bitinn/node-fetch.svg
1079-
[aic]: https://img.shields.io/github/issues-closed/axios/axios.svg
1086+
[gic]: https://badgen.net/github/closed-issues/sindresorhus/got?label
1087+
[ric]: https://badgen.net/github/closed-issues/request/request?label
1088+
[nic]: https://badgen.net/github/closed-issues/bitinn/node-fetch?label
1089+
[aic]: https://badgen.net/github/closed-issues/axios/axios?label
1090+
1091+
[g2]: https://github.com/sindresorhus/got/issues?q=is%3Aissue+is%3Aclosed+sort%3Aupdated-desc
1092+
[r2]: https://github.com/request/request/issues?q=is%3Aissue+is%3Aclosed+sort%3Aupdated-desc
1093+
[n2]: https://github.com/bitinn/node-fetch/issues?q=is%3Aissue+is%3Aclosed+sort%3Aupdated-desc
1094+
[a2]: https://github.com/axios/axios/issues?q=is%3Aissue+is%3Aclosed+sort%3Aupdated-desc
10801095

10811096
<!-- DOWNLOADS -->
1082-
[gd]: https://img.shields.io/npm/dm/got.svg
1083-
[rd]: https://img.shields.io/npm/dm/request.svg
1084-
[nd]: https://img.shields.io/npm/dm/node-fetch.svg
1085-
[ad]: https://img.shields.io/npm/dm/axios.svg
1097+
[gd]: https://badgen.net/npm/dm/got?label
1098+
[rd]: https://badgen.net/npm/dm/request?label
1099+
[nd]: https://badgen.net/npm/dm/node-fetch?label
1100+
[ad]: https://badgen.net/npm/dm/axios?label
1101+
1102+
[g3]: https://www.npmjs.com/package/got
1103+
[r3]: https://www.npmjs.com/package/request
1104+
[n3]: https://www.npmjs.com/package/node-fetch
1105+
[a3]: https://www.npmjs.com/package/axios
10861106

10871107
<!-- COVERAGE -->
1088-
[gc]: https://coveralls.io/repos/github/sindresorhus/got/badge.svg?branch=master
1089-
[rc]: https://coveralls.io/repos/github/request/request/badge.svg?branch=master
1090-
[nc]: https://coveralls.io/repos/github/bitinn/node-fetch/badge.svg?branch=master
1091-
[ac]: https://coveralls.io/repos/github/mzabriskie/axios/badge.svg?branch=master
1108+
[gc]: https://badgen.net/coveralls/c/github/sindresorhus/got?label
1109+
[rc]: https://badgen.net/coveralls/c/github/request/request?label
1110+
[nc]: https://badgen.net/coveralls/c/github/bitinn/node-fetch?label
1111+
[ac]: https://badgen.net/coveralls/c/github/mzabriskie/axios?label
1112+
1113+
[g4]: https://coveralls.io/github/sindresorhus/got
1114+
[r4]: https://coveralls.io/github/request/request
1115+
[n4]: https://coveralls.io/github/bitinn/node-fetch
1116+
[a4]: https://coveralls.io/github/mzabriskie/axios
10921117

10931118
<!-- BUILD -->
1094-
[gb]: https://travis-ci.org/sindresorhus/got.svg?branch=master
1095-
[rb]: https://travis-ci.org/request/request.svg?branch=master
1096-
[nb]: https://travis-ci.org/bitinn/node-fetch.svg?branch=master
1097-
[ab]: https://travis-ci.org/axios/axios.svg?branch=master
1119+
[gb]: https://badgen.net/travis/sindresorhus/got?label
1120+
[rb]: https://badgen.net/travis/request/request?label
1121+
[nb]: https://badgen.net/travis/bitinn/node-fetch?label
1122+
[ab]: https://badgen.net/travis/axios/axios?label
1123+
1124+
[g5]: https://travis-ci.org/sindresorhus/got
1125+
[r5]: https://travis-ci.org/request/request
1126+
[n5]: https://travis-ci.org/bitinn/node-fetch
1127+
[a5]: https://travis-ci.org/axios/axios
10981128

10991129
<!-- BUGS -->
1100-
[gbg]: https://badgen.net/github/label-issues/sindresorhus/got/bug/open
1101-
[rbg]: https://badgen.net/github/label-issues/request/request/Needs%20investigation/open
1102-
[nbg]: https://badgen.net/github/label-issues/bitinn/node-fetch/bug/open
1103-
[abg]: https://badgen.net/github/label-issues/axios/axios/bug/open
1130+
[gbg]: https://badgen.net/github/label-issues/sindresorhus/got/bug/open?label
1131+
[rbg]: https://badgen.net/github/label-issues/request/request/Needs%20investigation/open?label
1132+
[nbg]: https://badgen.net/github/label-issues/bitinn/node-fetch/bug/open?label
1133+
[abg]: https://badgen.net/github/label-issues/axios/axios/bug/open?label
1134+
1135+
[g6]: https://github.com/sindresorhus/got/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug
1136+
[r6]: https://github.com/request/request/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A"Needs+investigation"
1137+
[n6]: https://github.com/bitinn/node-fetch/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug
1138+
[a6]: https://github.com/axios/axios/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug
11041139

11051140
<!-- DEPENDENTS -->
1106-
[gdp]: https://badgen.net/npm/dependents/got
1107-
[rdp]: https://badgen.net/npm/dependents/request
1108-
[ndp]: https://badgen.net/npm/dependents/node-fetch
1109-
[adp]: https://badgen.net/npm/dependents/axios
1141+
[gdp]: https://badgen.net/npm/dependents/got?label
1142+
[rdp]: https://badgen.net/npm/dependents/request?label
1143+
[ndp]: https://badgen.net/npm/dependents/node-fetch?label
1144+
[adp]: https://badgen.net/npm/dependents/axios?label
1145+
1146+
[g7]: https://www.npmjs.com/package/got?activeTab=dependents
1147+
[r7]: https://www.npmjs.com/package/request?activeTab=dependents
1148+
[n7]: https://www.npmjs.com/package/node-fetch?activeTab=dependents
1149+
[a7]: https://www.npmjs.com/package/axios?activeTab=dependents
11101150

11111151
<!-- INSTALL SIZE -->
1112-
[gis]: https://packagephobia.now.sh/badge?p=got
1113-
[ris]: https://packagephobia.now.sh/badge?p=request
1114-
[nis]: https://packagephobia.now.sh/badge?p=node-fetch
1115-
[ais]: https://packagephobia.now.sh/badge?p=axios
1152+
[gis]: https://badgen.net/packagephobia/install/got?label
1153+
[ris]: https://badgen.net/packagephobia/install/request?label
1154+
[nis]: https://badgen.net/packagephobia/install/node-fetch?label
1155+
[ais]: https://badgen.net/packagephobia/install/axios?label
1156+
1157+
[g8]: https://packagephobia.now.sh/result?p=got
1158+
[r8]: https://packagephobia.now.sh/result?p=request
1159+
[n8]: https://packagephobia.now.sh/result?p=node-fetch
1160+
[a8]: https://packagephobia.now.sh/result?p=axios
11161161

11171162

11181163
## Related

0 commit comments

Comments
 (0)
Please sign in to comment.