{
  "id": "task_libraries:http-client/javascript",
  "path": "/exapedia/javascript-http-client-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript HTTP client libraries",
  "answer": [
    {
      "t": "text",
      "text": "JavaScript HTTP client libraries send requests to web servers and read the responses. Apps and AI agents use these libraries to call external APIs with features the built-in fetch lacks, such as retries and response caching."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript HTTP client libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#undici",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F130"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#node-fetch",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#gaxios",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F166"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#axios",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#got",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#make-fetch-happen",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#superagent",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F238"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ofetch",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F257"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#undici",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F2"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Native retry API",
            "Browser runtime",
            "Throws on HTTP errors by default"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#undici",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F130"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#node-fetch",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#gaxios",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F166"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#axios",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#got",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#make-fetch-happen",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#superagent",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F238"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ofetch",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F257"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "undici",
          "name": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/nodejs/undici"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/undici"
            },
            {
              "label": "Docs",
              "href": "https://raw.githubusercontent.com/nodejs/undici/main/README.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Undici is an HTTP client written from scratch for Node.js, and the built-in "
            },
            {
              "t": "code",
              "text": "fetch"
            },
            {
              "t": "text",
              "text": " in Node.js runs on a bundled copy of it. Installing the package adds APIs the built-in version lacks: "
            },
            {
              "t": "code",
              "text": "request"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "stream"
            },
            {
              "t": "text",
              "text": ", and "
            },
            {
              "t": "code",
              "text": "pipeline"
            },
            {
              "t": "text",
              "text": " for lower-level calls, and "
            },
            {
              "t": "code",
              "text": "ProxyAgent"
            },
            {
              "t": "text",
              "text": " and "
            },
            {
              "t": "code",
              "text": "MockAgent"
            },
            {
              "t": "text",
              "text": " for proxies and tests. An "
            },
            {
              "t": "code",
              "text": "Agent"
            },
            {
              "t": "text",
              "text": " or "
            },
            {
              "t": "code",
              "text": "Pool"
            },
            {
              "t": "text",
              "text": " controls connection pooling, and "
            },
            {
              "t": "code",
              "text": "setGlobalDispatcher"
            },
            {
              "t": "text",
              "text": " applies one to every request. Undici's HTTP parser runs on WebAssembly, so requests fail in a Node.js setup that turns WebAssembly off."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/nodejs/undici/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F130"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/nodejs/node-gyp",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F145"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async function createDispatcher (gyp) {\n  const env = process.env\n  const hasProxyEnv = env.http_proxy || env.HTTP_PROXY || env.https_proxy || env.HTTPS_PROXY\n  if (!gyp.opts.proxy && !gyp.opts.cafile && !hasProxyEnv) {\n    return new RetryAgent(new Agent(), { maxRetries: 3 })\n  }\n\n  const opts = {}\n  if (gyp.opts.cafile) {\n    const ca = await readCAFile(gyp.opts.cafile)\n    // EnvHttpProxyAgent forwards opts to both its internal Agent (direct) and\n    // ProxyAgent (proxied). Agent reads TLS config from `connect`; ProxyAgent\n    // reads it from `requestTls` (origin) / `proxyTls` (proxy). Set all three\n    // so the custom CA is applied regardless of which path a request takes.\n    opts.connect = { ca }\n    opts.requestTls = { ca }\n    opts.proxyTls = { ca }\n  }\n  if (gyp.opts.proxy) {\n    opts.httpProxy = gyp.opts.proxy\n    opts.httpsProxy = gyp.opts.proxy\n  }\n  if (gyp.opts.noproxy) {\n    opts.noProxy = gyp.opts.noproxy\n  }\n  return new RetryAgent(new EnvHttpProxyAgent(opts), { maxRetries: 3 })\n}",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/nodejs/node-gyp/blob/ff3896c031202411409341ba2d3489bd61d11675/lib/download.js#L47-L73",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20undici%20for%20retry%20interceptors%2C%20package%20registry%20metadata%20and%20owned%20connection%20cleanup&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F130"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { fetch } from 'undici';\n\nconst response = await fetch('https://example.com');\nconsole.log(await response.text());\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/nodejs/undici/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F135"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "node-fetch",
          "name": [
            {
              "t": "fact",
              "fact": "F147"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/node-fetch/node-fetch"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/node-fetch"
            },
            {
              "label": "Docs",
              "href": "https://raw.githubusercontent.com/node-fetch/node-fetch/v3.3.2/README.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "node-fetch brings the browser's Fetch API to Node.js, built on the native "
            },
            {
              "t": "code",
              "text": "http"
            },
            {
              "t": "text",
              "text": " module rather than a browser polyfill. A call to "
            },
            {
              "t": "code",
              "text": "fetch(url)"
            },
            {
              "t": "text",
              "text": " returns a promise of a "
            },
            {
              "t": "code",
              "text": "Response"
            },
            {
              "t": "text",
              "text": ", read with "
            },
            {
              "t": "code",
              "text": "res.json()"
            },
            {
              "t": "text",
              "text": " or "
            },
            {
              "t": "code",
              "text": "res.text()"
            },
            {
              "t": "text",
              "text": ". Request and response bodies are Node streams, and the library decodes gzip, deflate, and Brotli responses. Options add a redirect limit and a response size limit that the Fetch standard leaves out. The current major version is an ES module only, and the previous one still loads with "
            },
            {
              "t": "code",
              "text": "require"
            },
            {
              "t": "text",
              "text": "."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/node-fetch/node-fetch/v3.3.2/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F147"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F292"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F293"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/sindresorhus/p-retry",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F164"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async () => {\n\tconst response = await fetch('https://sindresorhus.com/unicorn');\n\n\t// Abort retrying if the resource doesn't exist\n\tif (response.status === 404) {\n\t\tthrow new AbortError(response.statusText);\n\t}\n\n\treturn response.blob();\n}",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/sindresorhus/p-retry/blob/285fdc3f890a6f3d199b3d4abb0bad7c172c2233/readme.md#L19-L28",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F163"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=node-fetch%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F147"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import fetch from 'node-fetch';\n\nconst response = await fetch('https://github.com/');\nconst body = await response.text();\n\nconsole.log(body);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/node-fetch/node-fetch/v3.3.2/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F152"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "gaxios",
          "name": [
            {
              "t": "fact",
              "fact": "F166"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/googleapis/google-cloud-node"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/gaxios"
            },
            {
              "label": "Docs",
              "href": "https://github.com/googleapis/google-cloud-node/blob/main/core/packages/gaxios/README.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Gaxios is an HTTP client from Google that offers an interface like Axios on top of node-fetch. "
            },
            {
              "t": "code",
              "text": "request({ url })"
            },
            {
              "t": "text",
              "text": " sends a request and resolves to a response whose "
            },
            {
              "t": "code",
              "text": "data"
            },
            {
              "t": "text",
              "text": " field holds the parsed body. A "
            },
            {
              "t": "code",
              "text": "Gaxios"
            },
            {
              "t": "text",
              "text": " instance stores defaults such as a base URL and headers for every request it sends, and "
            },
            {
              "t": "code",
              "text": "instance.fetch"
            },
            {
              "t": "text",
              "text": " offers a Fetch-compatible call. The package is built for calls to Google APIs and services."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/googleapis/google-cloud-node/blob/main/core/packages/gaxios/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F166"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/googleapis/google-auth-library-nodejs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F183"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "request<T>(opts: GaxiosOptions): GaxiosPromise<T> {\n    // ensure the user isn't passing in request-style options\n    opts = this.configure(opts);\n    validate(opts);\n    return this.instance.request<T>(opts).catch(e => {\n      throw this.processError(e);\n    });\n  }",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/googleapis/google-auth-library-nodejs/blob/69be99032c05997adab5be81bf0f17ae2fe25676/src/transporters.ts#L85-L92",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F182"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=gaxios%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F166"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import {request} from 'gaxios';\nconst res = await request({url: 'https://google.com/'});\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/googleapis/google-cloud-node/blob/main/core/packages/gaxios/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F171"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "axios",
          "name": [
            {
              "t": "fact",
              "fact": "F185"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/axios/axios"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/axios"
            },
            {
              "label": "Docs",
              "href": "https://raw.githubusercontent.com/axios/axios/v1.21.1/README.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Axios sends HTTP requests from the browser and from Node.js with the same promise-based API. Methods such as "
            },
            {
              "t": "code",
              "text": "axios.get"
            },
            {
              "t": "text",
              "text": " resolve to a response whose "
            },
            {
              "t": "code",
              "text": "data"
            },
            {
              "t": "text",
              "text": " field holds the parsed body, and objects passed as data serialize to JSON. Interceptors run code on every request or response to add logic or transform data. "
            },
            {
              "t": "code",
              "text": "axios.create"
            },
            {
              "t": "text",
              "text": " makes an instance with its own base URL, headers, and timeout. Requests can be cancelled, and a response with an error status rejects the promise."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/axios/axios/v1.21.1/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F185"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/softonic/axios-retry",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F200"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "const axiosRetry: AxiosRetry = (axiosInstance, defaultOptions) => {\n  const requestInterceptorId = axiosInstance.interceptors.request.use((config) => {\n    setCurrentState(config, defaultOptions, true);\n    if (config[namespace]?.validateResponse) {\n      // by setting this, all HTTP responses will be go through the error interceptor first\n      config.validateStatus = () => false;\n    }\n    return config;\n  });\n\n  const responseInterceptorId = axiosInstance.interceptors.response.use(null, async (error) => {\n    const { config } = error;\n    // If we have no information to retry the request\n    if (!config) {\n      return Promise.reject(error);\n    }\n    const currentState = setCurrentState(config, defaultOptions);\n    if (error.response && currentState.validateResponse?.(error.response)) {\n      // no issue with response\n      return error.response;\n    }\n    if (await shouldRetry(currentState, error)) {\n      return handleRetry(axiosInstance, currentState, error, config);\n    }\n\n    await handleMaxRetryTimesExceeded(currentState, error);\n\n    return Promise.reject(error);\n  });\n\n  return { requestInterceptorId, responseInterceptorId };\n};",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/softonic/axios-retry/blob/a748627fdc5e22e659055b6cfb44e35ad5801bf4/src/index.ts#L301-L332",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F199"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20axios%20for%20retry%20interceptors%2C%20package%20registry%20metadata%20and%20owned%20connection%20cleanup&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F185"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import axios from 'axios';\n\nconst response = await axios.get('https://httpbin.org/get');\nconsole.log(response.data);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/axios/axios/v1.21.1/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F190"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "got",
          "name": [
            {
              "t": "fact",
              "fact": "F202"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/sindresorhus/got"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/got"
            },
            {
              "label": "Docs",
              "href": "https://raw.githubusercontent.com/sindresorhus/got/v16.2.0/readme.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Got is an HTTP request library for Node.js with promise and stream interfaces. "
            },
            {
              "t": "code",
              "text": "got.post(url, { json })"
            },
            {
              "t": "text",
              "text": " sends a JSON body, and "
            },
            {
              "t": "code",
              "text": ".json()"
            },
            {
              "t": "text",
              "text": " on the returned promise parses the response. Failed requests retry by default, and options cover timeouts, caching, proxies, and Unix sockets. The package is an ES module only. Its README points browser code to Ky, a Fetch-based client from the same authors."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/sindresorhus/got/v16.2.0/readme.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F202"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/sindresorhus/package-json",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F217"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export default async function packageJson(packageName, options) {\n\toptions = {\n\t\tversion: 'latest',\n\t\t...options,\n\t};\n\n\tconst scope = packageName.split('/')[0];\n\tconst registryUrl_ = options.registryUrl || registryUrl(scope);\n\tconst packageUrl = new URL(encodeURIComponent(packageName).replace(/^%40/, '@'), registryUrl_);\n\tconst authInfo = registryAuthToken(registryUrl_.toString(), {recursive: true});\n\n\tconst headers = {\n\t\taccept: 'application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*',\n\t};\n\n\tif (options.fullMetadata) {\n\t\tdelete headers.accept;\n\t}\n\n\tif (authInfo) {\n\t\theaders.authorization = `${authInfo.type} ${authInfo.token}`;\n\t}\n\n\tconst gotOptions = {\n\t\theaders,\n\t\tagent: {\n\t\t\thttp: httpAgent,\n\t\t\thttps: httpsAgent,\n\t\t},\n\t};\n\n\tif (options.agent) {\n\t\tgotOptions.agent = options.agent;\n\t}\n\n\tlet data;\n\ttry {\n\t\tdata = await got(packageUrl, gotOptions).json();\n\t} catch (error) {\n\t\tif (error?.response?.statusCode === 404) {\n\t\t\tthrow new PackageNotFoundError(packageName);\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\tif (options.allVersions) {\n\t\treturn data;\n\t}\n\n\tlet {version} = options;\n\tconst versionError = new VersionNotFoundError(packageName, version);\n\n\tif (data['dist-tags'][version]) {\n\t\tconst time = data.time;\n\t\tdata = data.versions[data['dist-tags'][version]];\n\t\tdata.time = time;\n\t} else if (version) {\n\t\tif (!data.versions[version]) {\n\t\t\tconst versions = Object.keys(data.versions);\n\t\t\tversion = semver.maxSatisfying(versions, version);\n\n\t\t\tif (!version) {\n\t\t\t\tthrow versionError;\n\t\t\t}\n\t\t}\n\n\t\tconst time = data.time;\n\t\tdata = data.versions[version];\n\t\tdata.time = time;\n\n\t\tif (!data) {\n\t\t\tthrow versionError;\n\t\t}\n\t}\n\n\treturn data;\n}",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/sindresorhus/package-json/blob/0b9859ad8c814782d62cdedd8227787589f798d5/index.js#L32-L109",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F216"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20got%20for%20retry%20interceptors%2C%20package%20registry%20metadata%20and%20owned%20connection%20cleanup&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F202"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import got from 'got';\n\nconst {data} = await got.post('https://httpbin.org/anything', {\n\tjson: {\n\t\thello: 'world'\n\t}\n}).json();\n\nconsole.log(data);\n//=> {\"hello\": \"world\"}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/sindresorhus/got/v16.2.0/readme.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "readme.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F207"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "make-fetch-happen",
          "name": [
            {
              "t": "fact",
              "fact": "F219"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/npm/make-fetch-happen"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/make-fetch-happen"
            },
            {
              "label": "Docs",
              "href": "https://raw.githubusercontent.com/npm/make-fetch-happen/v16.0.1/README.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "make-fetch-happen is a Node.js Fetch client that adds an HTTP cache, retries, request pooling, and proxy support to "
            },
            {
              "t": "code",
              "text": "minipass-fetch"
            },
            {
              "t": "text",
              "text": ". Setting "
            },
            {
              "t": "code",
              "text": "cachePath"
            },
            {
              "t": "text",
              "text": " stores responses on disk and follows HTTP caching rules, including "
            },
            {
              "t": "code",
              "text": "Cache-Control"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "ETag"
            },
            {
              "t": "text",
              "text": ", and conditional requests. Retries follow HTTP semantics, and a cached copy can answer when the network fails. "
            },
            {
              "t": "code",
              "text": "fetch.defaults"
            },
            {
              "t": "text",
              "text": " returns a fetch function with preset options."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/npm/make-fetch-happen/v16.0.1/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/nodejs/node-gyp",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F236"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async function download (gyp, url) {\n  log.http('GET', url)\n\n  const requestOpts = {\n    headers: {\n      'User-Agent': `node-gyp v${gyp.version} (node ${process.version})`,\n      Connection: 'keep-alive'\n    },\n    proxy: gyp.opts.proxy,\n    noProxy: gyp.opts.noproxy\n  }\n\n  const cafile = gyp.opts.cafile\n  if (cafile) {\n    requestOpts.ca = await readCAFile(cafile)\n  }\n\n  const res = await fetch(url, requestOpts)\n  log.http(res.status, res.url)\n\n  return res\n}",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/nodejs/node-gyp/blob/08c91d08adfcf1f24e7ff3e14b454da27bb6be25/lib/download.js#L5-L26",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F235"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=make-fetch-happen%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const fetch = require('make-fetch-happen');\n\nfetch('https://example.com')\n  .then(response => response.text())\n  .then(console.log);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/npm/make-fetch-happen/v16.0.1/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F224"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "superagent",
          "name": [
            {
              "t": "fact",
              "fact": "F238"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/forwardemail/superagent"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/superagent"
            },
            {
              "label": "Docs",
              "href": "https://raw.githubusercontent.com/forwardemail/superagent/v10.4.2/docs/index.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "SuperAgent sends HTTP requests with a chained API that runs the same way in Node.js and in the browser. Methods such as "
            },
            {
              "t": "code",
              "text": ".post"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": ".send"
            },
            {
              "t": "text",
              "text": ", and "
            },
            {
              "t": "code",
              "text": ".set"
            },
            {
              "t": "text",
              "text": " build the request, which goes out on "
            },
            {
              "t": "code",
              "text": ".end"
            },
            {
              "t": "text",
              "text": " with a callback or when awaited as a promise. An object passed to "
            },
            {
              "t": "code",
              "text": ".send"
            },
            {
              "t": "text",
              "text": " becomes a JSON request body. The browser build also loads from a script tag through jsDelivr or unpkg."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/forwardemail/superagent/v10.4.2/docs/index.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F238"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/forwardemail/supertest",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F255"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "constructor (app, method, path, optHttp2) {\n    super(method.toUpperCase(), path);\n\n    if (typeof app === 'function') {\n      if (optHttp2) {\n        app = http2.createServer(app); // eslint-disable-line no-param-reassign\n      } else {\n        app = http.createServer(app); // eslint-disable-line no-param-reassign\n      }\n    }\n\n    this.redirects(0);\n    this.buffer();\n    this.app = app;\n    this._asserts = [];\n    this.url = typeof app === 'string'\n      ? app + path\n      : this.serverAddress(app, path);\n  }",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/forwardemail/supertest/blob/aff97e7c8eed2ff88d650f6b451f04a321790f88/lib/test.js#L146-L164",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F254"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=superagent%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F238"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const request = require('superagent');\n\nrequest.get('https://httpbin.org/get')\n  .then(response => console.log(response.body));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/forwardemail/superagent/v10.4.2/docs/index.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F243"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "ofetch",
          "name": [
            {
              "t": "fact",
              "fact": "F257"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/unjs/ofetch"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/ofetch"
            },
            {
              "label": "Docs",
              "href": "https://app.unpkg.com/ofetch@1.5.1/files/README.md"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "ofetch wraps the Fetch API with defaults for JSON and errors, and runs in Node.js, browsers, and workers. "
            },
            {
              "t": "code",
              "text": "ofetch('/api/users')"
            },
            {
              "t": "text",
              "text": " parses a JSON response on its own, and an object passed as "
            },
            {
              "t": "code",
              "text": "body"
            },
            {
              "t": "text",
              "text": " goes out as JSON with matching headers. A response with an error status throws a "
            },
            {
              "t": "code",
              "text": "FetchError"
            },
            {
              "t": "text",
              "text": " that carries the parsed error body. Failed requests retry once by default, except for "
            },
            {
              "t": "code",
              "text": "POST"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "PUT"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "PATCH"
            },
            {
              "t": "text",
              "text": ", and "
            },
            {
              "t": "code",
              "text": "DELETE"
            },
            {
              "t": "text",
              "text": ", which retry only when configured."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F260"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://app.unpkg.com/ofetch@1.5.1/files/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F257"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F294"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F295"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F274"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F275"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/unjs/ipx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F274"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async getData(id) {\n      const url = validateId(id);\n      const response = await ofetch(url, {\n        ...fetchOptions,\n        method: \"GET\",\n        responseType: \"arrayBuffer\",\n      });\n      return response;\n    }",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/unjs/ipx/blob/36537bc1395854a57a34ab6aeecb5debfcb02ae1/src/storage/http.ts#L98-L106",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F273"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=ofetch%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F257"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { ofetch } from 'ofetch';\n\nconst html = await ofetch('https://example.com');\nconsole.log(html);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://app.unpkg.com/ofetch@1.5.1/files/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F262"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which JavaScript HTTP client should I use?",
      "a": [
        {
          "t": "text",
          "text": "In Node.js with no extra package, use the built-in "
        },
        {
          "t": "code",
          "text": "fetch"
        },
        {
          "t": "text",
          "text": ", which runs on "
        },
        {
          "t": "link",
          "href": "#undici",
          "label": [
            {
              "t": "text",
              "text": "Undici"
            }
          ]
        },
        {
          "t": "text",
          "text": ". For one API across the browser and Node.js with interceptors and instances, use "
        },
        {
          "t": "link",
          "href": "#axios",
          "label": [
            {
              "t": "text",
              "text": "Axios"
            }
          ]
        },
        {
          "t": "text",
          "text": ". For Node.js with retries and streams, use "
        },
        {
          "t": "link",
          "href": "#got",
          "label": [
            {
              "t": "text",
              "text": "Got"
            }
          ]
        },
        {
          "t": "text",
          "text": ", and for Fetch with JSON parsing and retries in any runtime, use "
        },
        {
          "t": "link",
          "href": "#ofetch",
          "label": [
            {
              "t": "text",
              "text": "ofetch"
            }
          ]
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "q": "What is node-fetch?",
      "a": [
        {
          "t": "link",
          "href": "#node-fetch",
          "label": [
            {
              "t": "text",
              "text": "node-fetch"
            }
          ]
        },
        {
          "t": "text",
          "text": " brings the browser's Fetch API to Node.js. Node.js now ships a built-in "
        },
        {
          "t": "code",
          "text": "fetch"
        },
        {
          "t": "text",
          "text": " powered by "
        },
        {
          "t": "link",
          "href": "#undici",
          "label": [
            {
              "t": "text",
              "text": "Undici"
            }
          ]
        },
        {
          "t": "text",
          "text": ", so current Node.js versions can call fetch without a package. node-fetch adds Node streams for request and response bodies and options such as a response size limit."
        }
      ]
    },
    {
      "q": "Axios vs fetch: what is the difference?",
      "a": [
        {
          "t": "link",
          "href": "#axios",
          "label": [
            {
              "t": "text",
              "text": "Axios"
            }
          ]
        },
        {
          "t": "text",
          "text": " parses JSON responses, rejects the promise on an error status, and supports interceptors and preconfigured instances. Fetch is built into browsers and Node.js, returns a response whose body needs a separate "
        },
        {
          "t": "code",
          "text": "json()"
        },
        {
          "t": "text",
          "text": " call, and resolves even when the server returns an error status."
        }
      ]
    },
    {
      "q": "How do I retry failed requests with Axios?",
      "a": [
        {
          "t": "link",
          "href": "#axios",
          "label": [
            {
              "t": "text",
              "text": "Axios"
            }
          ]
        },
        {
          "t": "text",
          "text": " has no retry option of its own, and the axios-retry package adds one. "
        },
        {
          "t": "link",
          "href": "#got",
          "label": [
            {
              "t": "text",
              "text": "Got"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#ofetch",
          "label": [
            {
              "t": "text",
              "text": "ofetch"
            }
          ]
        },
        {
          "t": "text",
          "text": ", and "
        },
        {
          "t": "link",
          "href": "#superagent",
          "label": [
            {
              "t": "text",
              "text": "SuperAgent"
            }
          ]
        },
        {
          "t": "text",
          "text": " retry failed requests without an extra package."
        }
      ]
    },
    {
      "q": "How do I set a timeout in Axios?",
      "a": [
        {
          "t": "text",
          "text": "Pass "
        },
        {
          "t": "code",
          "text": "timeout"
        },
        {
          "t": "text",
          "text": " in milliseconds in the request config, or on an instance made with "
        },
        {
          "t": "code",
          "text": "axios.create"
        },
        {
          "t": "text",
          "text": ". "
        },
        {
          "t": "link",
          "href": "#axios",
          "label": [
            {
              "t": "text",
              "text": "Axios"
            }
          ]
        },
        {
          "t": "text",
          "text": " sets no timeout by default."
        }
      ]
    },
    {
      "q": "Axios vs Got: which should I use?",
      "a": [
        {
          "t": "link",
          "href": "#got",
          "label": [
            {
              "t": "text",
              "text": "Got"
            }
          ]
        },
        {
          "t": "text",
          "text": " runs only in Node.js, retries failed requests by default, and offers a stream interface. "
        },
        {
          "t": "link",
          "href": "#axios",
          "label": [
            {
              "t": "text",
              "text": "Axios"
            }
          ]
        },
        {
          "t": "text",
          "text": " runs in browsers and Node.js with one API and needs the axios-retry package for retries."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, undici",
      "display": "Undici",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, undici",
      "display": "1.2B",
      "asOf": "2026-11-14"
    },
    "F3": {
      "label": "License, undici",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, undici",
      "display": "8.12.4",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, undici",
      "display": "v8.12.4",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, undici",
      "display": "7.7K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Async requests, undici",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Retries, undici",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Streaming responses, undici",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Request cancellation, undici",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, undici",
      "display": "npm install undici",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, undici",
      "display": "Undici is an HTTP client written from scratch for Node.js, and the built-in fetch in Node.js runs on a bundled copy of it. Installing the package adds APIs the built-in version lacks: request, stream, and pipeline for lower-level calls, and ProxyAgent and MockAgent for proxies and tests. An Agent or Pool controls connection pooling, and setGlobalDispatcher applies one to every request. Undici's HTTP parser runs on WebAssembly, so requests fail in a Node.js setup that turns WebAssembly off.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, undici",
      "display": "Controls reusable connection pools",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, undici",
      "display": "Choose Agent or Pool when connection behavior needs explicit control.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, undici",
      "display": "Retries through dispatcher composition",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, undici",
      "display": "Wrap a dispatcher in RetryAgent to retry eligible failed requests.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, undici",
      "display": "Response bodies must be consumed",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, undici",
      "display": "Read or cancel each response body so its connection can be reused.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, undici",
      "display": "Fetch bodies use web streams",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, undici",
      "display": "Convert the response body when a Node stream is required.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, undici",
      "display": "import { request } from 'undici'\n\nconst {\n  statusCode,\n  headers,\n  trailers,\n  body\n} = await request('http://localhost:3000/foo')\n\nconsole.log('response received', statusCode)\nconsole.log('headers', headers)\nconsole.log('data', await body.json())\nconsole.log('trailers', trailers)\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, undici",
      "display": "function close () {\n    // Always destroy http2 client (internal implementation detail)\n    if (http2Client) {\n      http2Client.destroy()\n    }\n\n    if (globalAgent || destroyAgent === false) {\n      return\n    }\n\n    if (hasUndiciOptions) {\n      undiciAgent?.destroy()\n      undiciInstance?.destroy()\n    } else if (!isHttp2) {\n      agents['http:'].destroy()\n      agents['https:'].destroy()\n    }\n  }\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, undici",
      "display": "request.js · close()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, undici",
      "display": "fastify/fastify-reply-from",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, fastify/fastify-reply-from",
      "display": "166",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, fastify/fastify-reply-from",
      "display": "Nov 2026",
      "asOf": "2026-11-14"
    },
    "F27": {
      "label": "Library name, axios",
      "display": "Axios",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, axios",
      "display": "561.1M",
      "asOf": "2026-11-14"
    },
    "F29": {
      "label": "License, axios",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, axios",
      "display": "1.20.0",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Undated package release, axios",
      "display": "v1.20.0",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Repository stars, axios",
      "display": "109.4K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Async requests, axios",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Retries, axios",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Streaming responses, axios",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Request cancellation, axios",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Install, axios",
      "display": "npm install axios",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "What it does, axios",
      "display": "Axios sends HTTP requests from the browser and from Node.js with the same promise-based API. Methods such as axios.get resolve to a response whose data field holds the parsed body, and objects passed as data serialize to JSON. Interceptors run code on every request or response to add logic or transform data. axios.create makes an instance with its own base URL, headers, and timeout. Requests can be cancelled, and a response with an error status rejects the promise.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, axios",
      "display": "Works in browsers and Node",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, axios",
      "display": "Use browser and server adapters through the same request interface.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, axios",
      "display": "Intercepts requests and responses",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, axios",
      "display": "Add shared request configuration and response handling through interceptors.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, axios",
      "display": "Retry policies need an integration",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, axios",
      "display": "Add axios-retry when transient request failures should trigger retries.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations lead, axios",
      "display": "Timeouts are disabled by default",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations, axios",
      "display": "Set a timeout explicitly when requests must stop waiting.",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Quickstart, axios",
      "display": "import axios from 'axios';\n//const axios = require('axios'); // legacy way\n\ntry {\n  const response = await axios.get('/user?ID=12345');\n  console.log(response);\n} catch (error) {\n  console.error(error);\n}\n\n// Optionally the request above could also be done as\naxios\n  .get('/user', {\n    params: {\n      ID: 12345,\n    },\n    timeout: 5000, // 5 seconds. See \"Handling Timeouts\" below for matching error handling\n  })\n  .then(function (response) {\n    console.log(response);\n  })\n  .catch(function (error) {\n    console.log(error);\n  })\n  .finally(function () {\n    // always executed\n  });\n\n// Want to use async/await? Add the `async` keyword to your outer function/method.\nasync function getUser() {\n  try {\n    // Example: GET request with query parameters\n    const response = await axios.get('/user', {\n      params: {\n        ID: 12345,\n      },\n    });\n\n    // Using the `params` option improves readability and automatically formats query strings\n\n    console.log(response);\n  } catch (error) {\n    console.error(error);\n  }\n}\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function, axios",
      "display": "const axiosRetry: AxiosRetry = (axiosInstance, defaultOptions) => {\n  const requestInterceptorId = axiosInstance.interceptors.request.use((config) => {\n    setCurrentState(config, defaultOptions, true);\n    if (config[namespace]?.validateResponse) {\n      // by setting this, all HTTP responses will be go through the error interceptor first\n      config.validateStatus = () => false;\n    }\n    return config;\n  });\n\n  const responseInterceptorId = axiosInstance.interceptors.response.use(null, async (error) => {\n    const { config } = error;\n    // If we have no information to retry the request\n    if (!config) {\n      return Promise.reject(error);\n    }\n    const currentState = setCurrentState(config, defaultOptions);\n    if (error.response && currentState.validateResponse?.(error.response)) {\n      // no issue with response\n      return error.response;\n    }\n    if (await shouldRetry(currentState, error)) {\n      return handleRetry(axiosInstance, currentState, error, config);\n    }\n\n    await handleMaxRetryTimesExceeded(currentState, error);\n\n    return Promise.reject(error);\n  });\n\n  return { requestInterceptorId, responseInterceptorId };\n};\n",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project function reference, axios",
      "display": "index.ts · axiosRetry()",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project repository, axios",
      "display": "softonic/axios-retry",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project stars, softonic/axios-retry",
      "display": "2.0K",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project push date, softonic/axios-retry",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F53": {
      "label": "Library name, got",
      "display": "Got",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Monthly downloads, got",
      "display": "199.9M",
      "asOf": "2026-11-15"
    },
    "F55": {
      "label": "License, got",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Package release, got",
      "display": "16.2.0",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Undated package release, got",
      "display": "v16.2.0",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Repository stars, got",
      "display": "15.0K",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Async requests, got",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Retries, got",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Streaming responses, got",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Request cancellation, got",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Install, got",
      "display": "npm install got",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "What it does, got",
      "display": "Got is an HTTP request library for Node.js with promise and stream interfaces. got.post(url, { json }) sends a JSON body, and .json() on the returned promise parses the response. Failed requests retry by default, and options cover timeouts, caching, proxies, and Unix sockets. The package is an ES module only. Its README points browser code to Ky, a Fetch-based client from the same authors.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, got",
      "display": "Provides promise and stream APIs",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, got",
      "display": "Choose parsed responses or streaming transfers for Node applications.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths lead, got",
      "display": "Includes configurable retry behavior",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths, got",
      "display": "Set eligible methods, failure codes, and retry delays.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, got",
      "display": "Requires ES module imports",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, got",
      "display": "Convert CommonJS integration code before importing current Got.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations lead, got",
      "display": "POST is excluded from retries",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "limitations, got",
      "display": "Configure retry.methods explicitly when repeating a POST request is safe.",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Quickstart, got",
      "display": "import got from 'got';\n\nconst {data} = await got.post('https://httpbin.org/anything', {\n\tjson: {\n\t\thello: 'world'\n\t}\n}).json();\n\nconsole.log(data);\n//=> {\"hello\": \"world\"}\n",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Library name, ky",
      "display": "Ky",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Monthly downloads, ky",
      "display": "36.4M",
      "asOf": "2026-11-15"
    },
    "F76": {
      "label": "License, ky",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Package release, ky",
      "display": "2.2.0",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Undated package release, ky",
      "display": "v2.2.0",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Repository stars, ky",
      "display": "17.2K",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Async requests, ky",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Retries, ky",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Streaming responses, ky",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Request cancellation, ky",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Install, ky",
      "display": "npm install ky",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "What it does, ky",
      "display": "Adds retry policies, response helpers, and hooks to a Fetch-based HTTP client.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths lead, ky",
      "display": "Builds on the Fetch API",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths, ky",
      "display": "Use Fetch request options with response helpers and configurable hooks.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths lead, ky",
      "display": "Separates attempt and overall deadlines",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths, ky",
      "display": "Set totalTimeout to bound retries and delays across an operation.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "limitations lead, ky",
      "display": "Streaming retries buffer request bodies",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations, ky",
      "display": "Disable retries when uploading large streams that should avoid full buffering.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations lead, ky",
      "display": "Disabling HTTP errors disables retries",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "limitations, ky",
      "display": "When throwHttpErrors is false, error responses are treated as successful.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Quickstart, ky",
      "display": "import ky from 'ky';\n\nconst json = await ky.post('https://example.com', {json: {foo: true}}).json();\n\nconsole.log(json);\n//=> {data: '🦄'}\n",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project function, ky",
      "display": "export default async function packageJson(packageName, options = {}) {\n\tlet {version = 'latest'} = options;\n\tconst {omitDeprecated = true} = options;\n\n\tconst scope = packageName.split('/')[0];\n\tconst registryUrl_ = options.registryUrl ?? registryUrl(scope);\n\tconst packageUrl = new URL(encodeURIComponent(packageName).replace(/^%40/, '@'), registryUrl_);\n\tconst authInfo = registryAuthToken(registryUrl_.toString(), {recursive: true});\n\n\tconst headers = {\n\t\taccept: 'application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*',\n\t};\n\n\tif (options.fullMetadata) {\n\t\tdelete headers.accept;\n\t}\n\n\tif (authInfo) {\n\t\theaders.authorization = `${authInfo.type} ${authInfo.token}`;\n\t}\n\n\tlet data;\n\ttry {\n\t\tdata = await ky(packageUrl, {headers, keepalive: true}).json();\n\t} catch (error) {\n\t\tif (error?.response?.status === 404) {\n\t\t\tthrow new PackageNotFoundError(packageName);\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\tif (options.allVersions) {\n\t\treturn data;\n\t}\n\n\tconst versionError = new VersionNotFoundError(packageName, version);\n\n\tif (data['dist-tags'][version]) {\n\t\tconst {time} = data;\n\t\tdata = data.versions[data['dist-tags'][version]];\n\t\tdata.time = time;\n\t} else if (version) {\n\t\tconst versionExists = Boolean(data.versions[version]);\n\n\t\tif (omitDeprecated && !versionExists) {\n\t\t\tfor (const [metadataVersion, metadata] of Object.entries(data.versions)) {\n\t\t\t\tif (metadata.deprecated) {\n\t\t\t\t\tdelete data.versions[metadataVersion];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (!versionExists) {\n\t\t\tconst versions = Object.keys(data.versions);\n\t\t\tversion = semver.maxSatisfying(versions, version);\n\n\t\t\tif (!version) {\n\t\t\t\tthrow versionError;\n\t\t\t}\n\t\t}\n\n\t\tconst {time} = data;\n\t\tdata = data.versions[version];\n\t\tdata.time = time;\n\n\t\tif (!data) {\n\t\t\tthrow versionError;\n\t\t}\n\t}\n\n\treturn data;\n}\n",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Project function reference, ky",
      "display": "index.js · packageJson()",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Project repository, ky",
      "display": "sindresorhus/package-json",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Project stars, sindresorhus/package-json",
      "display": "250",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Project push date, sindresorhus/package-json",
      "display": "Jul 2026",
      "asOf": "2026-07-25"
    },
    "F100": {
      "label": "Developer need",
      "display": "Shared browser and server requests",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose axios",
      "display": "browser and Node adapters",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "shared browser and server requests",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "When to consider ky",
      "display": "a Fetch-based request interface is preferred",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need",
      "display": "Node promise or stream requests",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Why choose got",
      "display": "separate promise and stream APIs",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need in introduction",
      "display": "node promise or stream requests",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "When to consider undici",
      "display": "explicit connection pool management is the priority",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need",
      "display": "Fetch requests with overall deadlines",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Why choose ky",
      "display": "an overall timeout across retries and delays",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need in introduction",
      "display": "fetch requests with overall deadlines",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Developer need",
      "display": "Managing Node connection reuse",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Why choose undici",
      "display": "explicit Agent and Pool configuration",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Developer need in introduction",
      "display": "managing Node connection reuse",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "When to consider got",
      "display": "method-aware retry settings are the main integration requirement",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "Page introduction",
      "display": "JavaScript HTTP client libraries let application developers send HTTP requests to web services.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which JavaScript HTTP client should I use?",
      "display": "Axios provides browser and Node request adapters.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which JavaScript HTTP client should I use?",
      "display": "Got exposes promise and stream APIs for Node.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Which JavaScript HTTP client should I use?",
      "display": "Ky builds on Fetch and adds request policies.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Which JavaScript HTTP client should I use?",
      "display": "Undici exposes explicit connection-pool controls for Node.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Do failed requests retry automatically?",
      "display": "Got retries eligible failures by default.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Do failed requests retry automatically?",
      "display": "Ky includes a retry policy.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Do failed requests retry automatically?",
      "display": "Axios can add retry behavior through axios-retry.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Do failed requests retry automatically?",
      "display": "Undici RetryAgent wraps a dispatcher with retry behavior.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Will Got retry POST requests?",
      "display": "POST is excluded by default; review whether repeating the operation is safe before changing retry.methods.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Is a Ky attempt timeout an overall request deadline?",
      "display": "Its timeout applies independently to each attempt; totalTimeout covers the overall operation including retries and delays.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Why can retrying a streaming Ky upload use substantial memory?",
      "display": "Ky clones the request body through tee for each attempt, which buffers the stream; disable retries when that behavior is unsuitable.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: What happens to Ky retries when HTTP errors are disabled?",
      "display": "With throwHttpErrors disabled, error responses count as successful, and do not retry.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Why do Undici connections stop being reusable?",
      "display": "Always consume or cancel response bodies instead of relying on garbage collection to release connection resources.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Are Undici fetch response bodies Node streams?",
      "display": "fetch returns a web stream; convert it with Readable.fromWeb when a Node stream is required.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "Library name, undici",
      "display": "Undici",
      "asOf": "2026-11-19"
    },
    "F131": {
      "label": "Monthly downloads, undici",
      "display": "1.3B",
      "asOf": "2026-11-19"
    },
    "F132": {
      "label": "License, undici",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F133": {
      "label": "Package release, undici",
      "display": "8.12.4",
      "asOf": "2026-11-19"
    },
    "F134": {
      "label": "Package release date, undici",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F135": {
      "label": "Install, undici",
      "display": "npm install undici",
      "asOf": "2026-11-19"
    },
    "F136": {
      "label": "Quickstart, undici",
      "display": "import { fetch } from 'undici';\n\nconst response = await fetch('https://example.com');\nconsole.log(await response.text());\n",
      "asOf": "2026-11-19"
    },
    "F137": {
      "label": "Repository stars, undici",
      "display": "7.7K",
      "asOf": "2026-11-19"
    },
    "F138": {
      "label": "Native retry API, undici",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F139": {
      "label": "Browser runtime, undici",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F140": {
      "label": "Throws on HTTP errors by default, undici",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F141": {
      "label": "Application fit, undici",
      "display": "Node transport pools, proxy/TLS configuration, and explicit dispatcher lifecycle.",
      "asOf": "2026-11-19"
    },
    "F142": {
      "label": "Request/error semantics, undici",
      "display": "Original Node-gyp imports Agent, EnvHttpProxyAgent, and RetryAgent directly from undici. Current8.12.4 documents their constructors, maxRetries, httpProxy/httpsProxy/noProxy, and ProxyAgent TLS options inherited from Agent. connect.ca, requestTls.ca, and proxyTls.ca come from the project PEM reader. These four native constructor invocations configure a dispatcher; getEnv/readCAFile are local helpers, not counted. The caller owns the resulting dispatcher lifecycle; no request execution or TLS connectivity was tested.",
      "asOf": "2026-11-19"
    },
    "F143": {
      "label": "Project function, undici",
      "display": "async function createDispatcher (gyp) {\n  const env = process.env\n  const hasProxyEnv = env.http_proxy || env.HTTP_PROXY || env.https_proxy || env.HTTPS_PROXY\n  if (!gyp.opts.proxy && !gyp.opts.cafile && !hasProxyEnv) {\n    return new RetryAgent(new Agent(), { maxRetries: 3 })\n  }\n\n  const opts = {}\n  if (gyp.opts.cafile) {\n    const ca = await readCAFile(gyp.opts.cafile)\n    // EnvHttpProxyAgent forwards opts to both its internal Agent (direct) and\n    // ProxyAgent (proxied). Agent reads TLS config from `connect`; ProxyAgent\n    // reads it from `requestTls` (origin) / `proxyTls` (proxy). Set all three\n    // so the custom CA is applied regardless of which path a request takes.\n    opts.connect = { ca }\n    opts.requestTls = { ca }\n    opts.proxyTls = { ca }\n  }\n  if (gyp.opts.proxy) {\n    opts.httpProxy = gyp.opts.proxy\n    opts.httpsProxy = gyp.opts.proxy\n  }\n  if (gyp.opts.noproxy) {\n    opts.noProxy = gyp.opts.noproxy\n  }\n  return new RetryAgent(new EnvHttpProxyAgent(opts), { maxRetries: 3 })\n}",
      "asOf": "2026-11-19"
    },
    "F144": {
      "label": "Project source file, undici",
      "display": "lib/download.js",
      "asOf": "2026-11-19"
    },
    "F145": {
      "label": "Project full_name, undici",
      "display": "nodejs/node-gyp",
      "asOf": "2026-11-19"
    },
    "F146": {
      "label": "Project stargazers_count, undici",
      "display": "10.7K",
      "asOf": "2026-11-19"
    },
    "F147": {
      "label": "Library name, node-fetch",
      "display": "node-fetch",
      "asOf": "2026-11-19"
    },
    "F148": {
      "label": "Monthly downloads, node-fetch",
      "display": "1.1B",
      "asOf": "2026-11-19"
    },
    "F149": {
      "label": "License, node-fetch",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F150": {
      "label": "Package release, node-fetch",
      "display": "3.3.2",
      "asOf": "2026-11-19"
    },
    "F151": {
      "label": "Package release date, node-fetch",
      "display": "Jul 2023",
      "asOf": "2026-11-19"
    },
    "F152": {
      "label": "Install, node-fetch",
      "display": "npm install node-fetch",
      "asOf": "2026-11-19"
    },
    "F153": {
      "label": "Quickstart, node-fetch",
      "display": "import fetch from 'node-fetch';\n\nconst response = await fetch('https://github.com/');\nconst body = await response.text();\n\nconsole.log(body);\n",
      "asOf": "2026-11-19"
    },
    "F154": {
      "label": "Official description, node-fetch",
      "display": "node-fetch brings the browser's Fetch API to Node.js, built on the native http module rather than a browser polyfill. A call to fetch(url) returns a promise of a Response, read with res.json() or res.text(). Request and response bodies are Node streams, and the library decodes gzip, deflate, and Brotli responses. Options add a redirect limit and a response size limit that the Fetch standard leaves out. The current major version is an ES module only, and the previous one still loads with require.",
      "asOf": "2026-11-19"
    },
    "F155": {
      "label": "Quickstart source file, node-fetch",
      "display": "README.md",
      "asOf": "2026-11-19"
    },
    "F156": {
      "label": "Repository stars, node-fetch",
      "display": "8.8K",
      "asOf": "2026-11-19"
    },
    "F157": {
      "label": "Native retry API, node-fetch",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F158": {
      "label": "Browser runtime, node-fetch",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F159": {
      "label": "Throws on HTTP errors by default, node-fetch",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F160": {
      "label": "Application fit, node-fetch",
      "display": "Node software needing the standalone Fetch-compatible Response and Node stream implementation; v3 requires ESM.",
      "asOf": "2026-11-19"
    },
    "F161": {
      "label": "Request/error semantics, node-fetch",
      "display": "The original immutable p-retry5.1.2 README explicitly imports fetch from node-fetch; the current README instead uses the global fetch and is not substituted. Current3.3.2 exports an ESM fetch returning its Response/BodyMixin with status, statusText, and blob(). AbortError is the surrounding p-retry dependency, not a node-fetch operation. This function stops retries on404; other HTTP error statuses are not automatically thrown by this function. The historical project pin is not a compatibility rejection.",
      "asOf": "2026-11-19"
    },
    "F162": {
      "label": "Project function, node-fetch",
      "display": "async () => {\n\tconst response = await fetch('https://sindresorhus.com/unicorn');\n\n\t// Abort retrying if the resource doesn't exist\n\tif (response.status === 404) {\n\t\tthrow new AbortError(response.statusText);\n\t}\n\n\treturn response.blob();\n}",
      "asOf": "2026-11-19"
    },
    "F163": {
      "label": "Project source file, node-fetch",
      "display": "readme.md",
      "asOf": "2026-11-19"
    },
    "F164": {
      "label": "Project full_name, node-fetch",
      "display": "sindresorhus/p-retry",
      "asOf": "2026-11-19"
    },
    "F165": {
      "label": "Project stargazers_count, node-fetch",
      "display": "1.0K",
      "asOf": "2026-11-19"
    },
    "F166": {
      "label": "Library name, gaxios",
      "display": "Gaxios",
      "asOf": "2026-11-19"
    },
    "F167": {
      "label": "Monthly downloads, gaxios",
      "display": "597.4M",
      "asOf": "2026-11-19"
    },
    "F168": {
      "label": "License, gaxios",
      "display": "Apache-2.0",
      "asOf": "2026-11-19"
    },
    "F169": {
      "label": "Package release, gaxios",
      "display": "8.3.3",
      "asOf": "2026-11-19"
    },
    "F170": {
      "label": "Package release date, gaxios",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F171": {
      "label": "Install, gaxios",
      "display": "npm install gaxios",
      "asOf": "2026-11-19"
    },
    "F172": {
      "label": "Quickstart, gaxios",
      "display": "import {request} from 'gaxios';\nconst res = await request({url: 'https://google.com/'});\n",
      "asOf": "2026-11-19"
    },
    "F173": {
      "label": "Official description, gaxios",
      "display": "Gaxios is an HTTP client from Google that offers an interface like Axios on top of node-fetch. request({ url }) sends a request and resolves to a response whose data field holds the parsed body. A Gaxios instance stores defaults such as a base URL and headers for every request it sends, and instance.fetch offers a Fetch-compatible call. The package is built for calls to Google APIs and services.",
      "asOf": "2026-11-19"
    },
    "F174": {
      "label": "Quickstart source file, gaxios",
      "display": "README.md",
      "asOf": "2026-11-19"
    },
    "F175": {
      "label": "Repository stars, gaxios",
      "display": "3.2K",
      "asOf": "2026-11-19"
    },
    "F176": {
      "label": "Native retry API, gaxios",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F177": {
      "label": "Browser runtime, gaxios",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F178": {
      "label": "Throws on HTTP errors by default, gaxios",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F179": {
      "label": "Application fit, gaxios",
      "display": "Shared Google API transports needing request defaults, retries, and Google-style response/error handling.",
      "asOf": "2026-11-19"
    },
    "F180": {
      "label": "Request/error semantics, gaxios",
      "display": "In the same pinned DefaultTransporter class, instance is initialized with new Gaxios. The selected method calls that actual instance.request(opts), not the outer AuthClient transporter wrapper. Current8.3.3 accepts GaxiosOptions/RequestInit and returns GaxiosPromise. The original configure/validate/processError helpers stay outside the displayed whole method; current GaxiosError still exposes response.data/status plus writable code/message/status used by that helper. This is the complete8-line request-adapter exception, not a claim that all old Google-auth9 types can be upgraded wholesale without other changes.",
      "asOf": "2026-11-19"
    },
    "F181": {
      "label": "Project function, gaxios",
      "display": "request<T>(opts: GaxiosOptions): GaxiosPromise<T> {\n    // ensure the user isn't passing in request-style options\n    opts = this.configure(opts);\n    validate(opts);\n    return this.instance.request<T>(opts).catch(e => {\n      throw this.processError(e);\n    });\n  }",
      "asOf": "2026-11-19"
    },
    "F182": {
      "label": "Project source file, gaxios",
      "display": "src/transporters.ts",
      "asOf": "2026-11-19"
    },
    "F183": {
      "label": "Project full_name, gaxios",
      "display": "googleapis/google-auth-library-nodejs",
      "asOf": "2026-11-19"
    },
    "F184": {
      "label": "Project stargazers_count, gaxios",
      "display": "1.9K",
      "asOf": "2026-11-19"
    },
    "F185": {
      "label": "Library name, axios",
      "display": "Axios",
      "asOf": "2026-11-19"
    },
    "F186": {
      "label": "Monthly downloads, axios",
      "display": "563.5M",
      "asOf": "2026-11-19"
    },
    "F187": {
      "label": "License, axios",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F188": {
      "label": "Package release, axios",
      "display": "1.21.1",
      "asOf": "2026-11-19"
    },
    "F189": {
      "label": "Package release date, axios",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F190": {
      "label": "Install, axios",
      "display": "npm install axios",
      "asOf": "2026-11-19"
    },
    "F191": {
      "label": "Quickstart, axios",
      "display": "import axios from 'axios';\n\nconst response = await axios.get('https://httpbin.org/get');\nconsole.log(response.data);\n",
      "asOf": "2026-11-19"
    },
    "F192": {
      "label": "Repository stars, axios",
      "display": "109.4K",
      "asOf": "2026-11-19"
    },
    "F193": {
      "label": "Native retry API, axios",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F194": {
      "label": "Browser runtime, axios",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F195": {
      "label": "Throws on HTTP errors by default, axios",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F196": {
      "label": "Application fit, axios",
      "display": "Browser and Node applications needing an instance/interceptor API; retry policy comes from an extension or application code.",
      "asOf": "2026-11-19"
    },
    "F197": {
      "label": "Request/error semantics, axios",
      "display": "Current1.21.1 request/response interceptor managers accept the two original use callbacks, including null for the response fulfilled handler, and return numeric interceptor IDs. The original plugin manipulates request config, validateStatus, errors.config, and error.response; these remain current Axios request/error shapes. setCurrentState, shouldRetry, handleRetry, and handleMaxRetryTimesExceeded are unchanged plugin helpers, not Axios invocations. This demonstrates a retry extension through interceptors, not a built-in Axios retry policy.",
      "asOf": "2026-11-19"
    },
    "F198": {
      "label": "Project function, axios",
      "display": "const axiosRetry: AxiosRetry = (axiosInstance, defaultOptions) => {\n  const requestInterceptorId = axiosInstance.interceptors.request.use((config) => {\n    setCurrentState(config, defaultOptions, true);\n    if (config[namespace]?.validateResponse) {\n      // by setting this, all HTTP responses will be go through the error interceptor first\n      config.validateStatus = () => false;\n    }\n    return config;\n  });\n\n  const responseInterceptorId = axiosInstance.interceptors.response.use(null, async (error) => {\n    const { config } = error;\n    // If we have no information to retry the request\n    if (!config) {\n      return Promise.reject(error);\n    }\n    const currentState = setCurrentState(config, defaultOptions);\n    if (error.response && currentState.validateResponse?.(error.response)) {\n      // no issue with response\n      return error.response;\n    }\n    if (await shouldRetry(currentState, error)) {\n      return handleRetry(axiosInstance, currentState, error, config);\n    }\n\n    await handleMaxRetryTimesExceeded(currentState, error);\n\n    return Promise.reject(error);\n  });\n\n  return { requestInterceptorId, responseInterceptorId };\n};",
      "asOf": "2026-11-19"
    },
    "F199": {
      "label": "Project source file, axios",
      "display": "src/index.ts",
      "asOf": "2026-11-19"
    },
    "F200": {
      "label": "Project full_name, axios",
      "display": "softonic/axios-retry",
      "asOf": "2026-11-19"
    },
    "F201": {
      "label": "Project stargazers_count, axios",
      "display": "2.0K",
      "asOf": "2026-11-19"
    },
    "F202": {
      "label": "Library name, got",
      "display": "Got",
      "asOf": "2026-11-19"
    },
    "F203": {
      "label": "Monthly downloads, got",
      "display": "205.1M",
      "asOf": "2026-11-19"
    },
    "F204": {
      "label": "License, got",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F205": {
      "label": "Package release, got",
      "display": "16.2.0",
      "asOf": "2026-11-19"
    },
    "F206": {
      "label": "Package release date, got",
      "display": "Oct 2026",
      "asOf": "2026-11-19"
    },
    "F207": {
      "label": "Install, got",
      "display": "npm install got",
      "asOf": "2026-11-19"
    },
    "F208": {
      "label": "Quickstart, got",
      "display": "import got from 'got';\n\nconst {data} = await got.post('https://httpbin.org/anything', {\n\tjson: {\n\t\thello: 'world'\n\t}\n}).json();\n\nconsole.log(data);\n//=> {\"hello\": \"world\"}\n",
      "asOf": "2026-11-19"
    },
    "F209": {
      "label": "Repository stars, got",
      "display": "15.0K",
      "asOf": "2026-11-19"
    },
    "F210": {
      "label": "Native retry API, got",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F211": {
      "label": "Browser runtime, got",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F212": {
      "label": "Throws on HTTP errors by default, got",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F213": {
      "label": "Application fit, got",
      "display": "Node ESM applications needing native retries, streams, agents, and HTTP-focused hooks; publisher recommends Ky for many simpler portable calls.",
      "asOf": "2026-11-19"
    },
    "F214": {
      "label": "Request/error semantics, got",
      "display": "The historical package-json8.1.1 imports default got with ESM syntax. Current16.2.0 accepts URL, plain headers, and agent.http/agent.https native Node Agent instances. Its own RequestPromise.json() shortcut remains documented, and HTTPError.response.statusCode remains the numeric response status. The parsed npm versions/dist-tags/time fields are registry data, not Got methods. The two native calls are got(...) and its returned SDK promise json(), not Promise.then or a local wrapper.",
      "asOf": "2026-11-19"
    },
    "F215": {
      "label": "Project function, got",
      "display": "export default async function packageJson(packageName, options) {\n\toptions = {\n\t\tversion: 'latest',\n\t\t...options,\n\t};\n\n\tconst scope = packageName.split('/')[0];\n\tconst registryUrl_ = options.registryUrl || registryUrl(scope);\n\tconst packageUrl = new URL(encodeURIComponent(packageName).replace(/^%40/, '@'), registryUrl_);\n\tconst authInfo = registryAuthToken(registryUrl_.toString(), {recursive: true});\n\n\tconst headers = {\n\t\taccept: 'application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*',\n\t};\n\n\tif (options.fullMetadata) {\n\t\tdelete headers.accept;\n\t}\n\n\tif (authInfo) {\n\t\theaders.authorization = `${authInfo.type} ${authInfo.token}`;\n\t}\n\n\tconst gotOptions = {\n\t\theaders,\n\t\tagent: {\n\t\t\thttp: httpAgent,\n\t\t\thttps: httpsAgent,\n\t\t},\n\t};\n\n\tif (options.agent) {\n\t\tgotOptions.agent = options.agent;\n\t}\n\n\tlet data;\n\ttry {\n\t\tdata = await got(packageUrl, gotOptions).json();\n\t} catch (error) {\n\t\tif (error?.response?.statusCode === 404) {\n\t\t\tthrow new PackageNotFoundError(packageName);\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\tif (options.allVersions) {\n\t\treturn data;\n\t}\n\n\tlet {version} = options;\n\tconst versionError = new VersionNotFoundError(packageName, version);\n\n\tif (data['dist-tags'][version]) {\n\t\tconst time = data.time;\n\t\tdata = data.versions[data['dist-tags'][version]];\n\t\tdata.time = time;\n\t} else if (version) {\n\t\tif (!data.versions[version]) {\n\t\t\tconst versions = Object.keys(data.versions);\n\t\t\tversion = semver.maxSatisfying(versions, version);\n\n\t\t\tif (!version) {\n\t\t\t\tthrow versionError;\n\t\t\t}\n\t\t}\n\n\t\tconst time = data.time;\n\t\tdata = data.versions[version];\n\t\tdata.time = time;\n\n\t\tif (!data) {\n\t\t\tthrow versionError;\n\t\t}\n\t}\n\n\treturn data;\n}",
      "asOf": "2026-11-19"
    },
    "F216": {
      "label": "Project source file, got",
      "display": "index.js",
      "asOf": "2026-11-19"
    },
    "F217": {
      "label": "Project full_name, got",
      "display": "sindresorhus/package-json",
      "asOf": "2026-11-19"
    },
    "F218": {
      "label": "Project stargazers_count, got",
      "display": "250",
      "asOf": "2026-11-19"
    },
    "F219": {
      "label": "Library name, make-fetch-happen",
      "display": "make-fetch-happen",
      "asOf": "2026-11-19"
    },
    "F220": {
      "label": "Monthly downloads, make-fetch-happen",
      "display": "149.2M",
      "asOf": "2026-11-19"
    },
    "F221": {
      "label": "License, make-fetch-happen",
      "display": "ISC",
      "asOf": "2026-11-19"
    },
    "F222": {
      "label": "Package release, make-fetch-happen",
      "display": "16.0.1",
      "asOf": "2026-11-19"
    },
    "F223": {
      "label": "Package release date, make-fetch-happen",
      "display": "May 2026",
      "asOf": "2026-11-19"
    },
    "F224": {
      "label": "Install, make-fetch-happen",
      "display": "npm install --save make-fetch-happen",
      "asOf": "2026-11-19"
    },
    "F225": {
      "label": "Quickstart, make-fetch-happen",
      "display": "const fetch = require('make-fetch-happen');\n\nfetch('https://example.com')\n  .then(response => response.text())\n  .then(console.log);\n",
      "asOf": "2026-11-19"
    },
    "F226": {
      "label": "Official description, make-fetch-happen",
      "display": "make-fetch-happen is a Node.js Fetch client that adds an HTTP cache, retries, request pooling, and proxy support to minipass-fetch. Setting cachePath stores responses on disk and follows HTTP caching rules, including Cache-Control, ETag, and conditional requests. Retries follow HTTP semantics, and a cached copy can answer when the network fails. fetch.defaults returns a fetch function with preset options.",
      "asOf": "2026-11-19"
    },
    "F227": {
      "label": "Quickstart source file, make-fetch-happen",
      "display": "README.md",
      "asOf": "2026-11-19"
    },
    "F228": {
      "label": "Repository stars, make-fetch-happen",
      "display": "208",
      "asOf": "2026-11-19"
    },
    "F229": {
      "label": "Native retry API, make-fetch-happen",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F230": {
      "label": "Browser runtime, make-fetch-happen",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F231": {
      "label": "Throws on HTTP errors by default, make-fetch-happen",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F232": {
      "label": "Application fit, make-fetch-happen",
      "display": "Node package/artifact downloads needing HTTP cache semantics, integrity validation, proxies, and retries.",
      "asOf": "2026-11-19"
    },
    "F233": {
      "label": "Request/error semantics, make-fetch-happen",
      "display": "The exact Node-gyp10.2.0 download function directly requires make-fetch-happen. Current16.0.1 supports url/options, headers, proxy, noProxy, and ca including arrays of PEM strings. The function returns the library Response and reads status/url only; body consumption and file/checksum processing belong to its actual callers. readCAFile and log.http are host helpers, not native calls. This complete22-line download task uses the bounded one-call exception.",
      "asOf": "2026-11-19"
    },
    "F234": {
      "label": "Project function, make-fetch-happen",
      "display": "async function download (gyp, url) {\n  log.http('GET', url)\n\n  const requestOpts = {\n    headers: {\n      'User-Agent': `node-gyp v${gyp.version} (node ${process.version})`,\n      Connection: 'keep-alive'\n    },\n    proxy: gyp.opts.proxy,\n    noProxy: gyp.opts.noproxy\n  }\n\n  const cafile = gyp.opts.cafile\n  if (cafile) {\n    requestOpts.ca = await readCAFile(cafile)\n  }\n\n  const res = await fetch(url, requestOpts)\n  log.http(res.status, res.url)\n\n  return res\n}",
      "asOf": "2026-11-19"
    },
    "F235": {
      "label": "Project source file, make-fetch-happen",
      "display": "lib/download.js",
      "asOf": "2026-11-19"
    },
    "F236": {
      "label": "Project full_name, make-fetch-happen",
      "display": "nodejs/node-gyp",
      "asOf": "2026-11-19"
    },
    "F237": {
      "label": "Project stargazers_count, make-fetch-happen",
      "display": "10.7K",
      "asOf": "2026-11-19"
    },
    "F238": {
      "label": "Library name, superagent",
      "display": "SuperAgent",
      "asOf": "2026-11-19"
    },
    "F239": {
      "label": "Monthly downloads, superagent",
      "display": "126.0M",
      "asOf": "2026-11-19"
    },
    "F240": {
      "label": "License, superagent",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F241": {
      "label": "Package release, superagent",
      "display": "10.4.2",
      "asOf": "2026-11-19"
    },
    "F242": {
      "label": "Package release date, superagent",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F243": {
      "label": "Install, superagent",
      "display": "npm install superagent",
      "asOf": "2026-11-19"
    },
    "F244": {
      "label": "Quickstart, superagent",
      "display": "const request = require('superagent');\n\nrequest.get('https://httpbin.org/get')\n  .then(response => console.log(response.body));\n",
      "asOf": "2026-11-19"
    },
    "F245": {
      "label": "Official description, superagent",
      "display": "SuperAgent sends HTTP requests with a chained API that runs the same way in Node.js and in the browser. Methods such as .post, .send, and .set build the request, which goes out on .end with a callback or when awaited as a promise. An object passed to .send becomes a JSON request body. The browser build also loads from a script tag through jsDelivr or unpkg.",
      "asOf": "2026-11-19"
    },
    "F246": {
      "label": "Quickstart source file, superagent",
      "display": "docs/index.md",
      "asOf": "2026-11-19"
    },
    "F247": {
      "label": "Repository stars, superagent",
      "display": "16.6K",
      "asOf": "2026-11-19"
    },
    "F248": {
      "label": "Native retry API, superagent",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F249": {
      "label": "Browser runtime, superagent",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F250": {
      "label": "Throws on HTTP errors by default, superagent",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F251": {
      "label": "Application fit, superagent",
      "display": "Browser and Node software needing a fluent request API, buffering, redirects, and opt-in retry controls.",
      "asOf": "2026-11-19"
    },
    "F252": {
      "label": "Request/error semantics, superagent",
      "display": "The original Supertest Test class extends the actual Request imported from superagent and does not override redirects or buffer. Selected10.4.2 publishes Request as a callable constructor and documents redirects(n) plus buffer(), whose omitted argument enables buffering. super(method.toUpperCase(), path), inherited this.redirects(0), and inherited this.buffer() are genuine native invocations. serverAddress, _asserts, and HTTP server creation are Supertest/Node context, not SuperAgent calls; sending/awaiting the request happens later in the real host.",
      "asOf": "2026-11-19"
    },
    "F253": {
      "label": "Project function, superagent",
      "display": "constructor (app, method, path, optHttp2) {\n    super(method.toUpperCase(), path);\n\n    if (typeof app === 'function') {\n      if (optHttp2) {\n        app = http2.createServer(app); // eslint-disable-line no-param-reassign\n      } else {\n        app = http.createServer(app); // eslint-disable-line no-param-reassign\n      }\n    }\n\n    this.redirects(0);\n    this.buffer();\n    this.app = app;\n    this._asserts = [];\n    this.url = typeof app === 'string'\n      ? app + path\n      : this.serverAddress(app, path);\n  }",
      "asOf": "2026-11-19"
    },
    "F254": {
      "label": "Project source file, superagent",
      "display": "lib/test.js",
      "asOf": "2026-11-19"
    },
    "F255": {
      "label": "Project full_name, superagent",
      "display": "forwardemail/supertest",
      "asOf": "2026-11-19"
    },
    "F256": {
      "label": "Project stargazers_count, superagent",
      "display": "14.4K",
      "asOf": "2026-11-19"
    },
    "F257": {
      "label": "Library name, ofetch",
      "display": "ofetch",
      "asOf": "2026-11-19"
    },
    "F258": {
      "label": "Monthly downloads, ofetch",
      "display": "105.7M",
      "asOf": "2026-11-19"
    },
    "F259": {
      "label": "License, ofetch",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F260": {
      "label": "Package release, ofetch",
      "display": "1.5.1",
      "asOf": "2026-11-19"
    },
    "F261": {
      "label": "Package release date, ofetch",
      "display": "Nov 2025",
      "asOf": "2026-11-19"
    },
    "F262": {
      "label": "Install, ofetch",
      "display": "npm i ofetch",
      "asOf": "2026-11-19"
    },
    "F263": {
      "label": "Quickstart, ofetch",
      "display": "import { ofetch } from 'ofetch';\n\nconst html = await ofetch('https://example.com');\nconsole.log(html);\n",
      "asOf": "2026-11-19"
    },
    "F264": {
      "label": "Official description, ofetch",
      "display": "ofetch wraps the Fetch API with defaults for JSON and errors, and runs in Node.js, browsers, and workers. ofetch('/api/users') parses a JSON response on its own, and an object passed as body goes out as JSON with matching headers. A response with an error status throws a FetchError that carries the parsed error body. Failed requests retry once by default, except for POST, PUT, PATCH, and DELETE, which retry only when configured.",
      "asOf": "2026-11-19"
    },
    "F265": {
      "label": "Quickstart source file, ofetch",
      "display": "README.md",
      "asOf": "2026-11-19"
    },
    "F266": {
      "label": "Repository stars, ofetch",
      "display": "5.4K",
      "asOf": "2026-11-19"
    },
    "F267": {
      "label": "Native retry API, ofetch",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F268": {
      "label": "Browser runtime, ofetch",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F269": {
      "label": "Throws on HTTP errors by default, ofetch",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F270": {
      "label": "Application fit, ofetch",
      "display": "Node/browser/worker applications wanting parsed responses, lifecycle hooks, and configurable retries over Fetch.",
      "asOf": "2026-11-19"
    },
    "F271": {
      "label": "Request/error semantics, ofetch",
      "display": "The immutable IPX2.1.1 method imports ofetch directly from the package. Published1.5.1 (not the contradictory Git tag snapshot whose package.json says2alpha) exposes the callable FetchOptions interface, method GET, responseType arrayBuffer, and the corresponding ArrayBuffer return type. fetchOptions and validateId are original project context; no wrapper is counted as native. This is the whole9-line binary-storage method exception. Its sibling historical cache-control and redirect helpers are not represented as current IPX behavior or an SSRF protection recipe.",
      "asOf": "2026-11-19"
    },
    "F272": {
      "label": "Project function, ofetch",
      "display": "async getData(id) {\n      const url = validateId(id);\n      const response = await ofetch(url, {\n        ...fetchOptions,\n        method: \"GET\",\n        responseType: \"arrayBuffer\",\n      });\n      return response;\n    }",
      "asOf": "2026-11-19"
    },
    "F273": {
      "label": "Project source file, ofetch",
      "display": "src/storage/http.ts",
      "asOf": "2026-11-19"
    },
    "F274": {
      "label": "Project full_name, ofetch",
      "display": "unjs/ipx",
      "asOf": "2026-11-19"
    },
    "F275": {
      "label": "Project stargazers_count, ofetch",
      "display": "2.5K",
      "asOf": "2026-11-19"
    },
    "F276": {
      "label": "Developer need, Undici",
      "display": "Node.js connection control",
      "asOf": "2026-11-17"
    },
    "F277": {
      "label": "Pick reason, Undici",
      "display": "pools and pipelines connections",
      "asOf": "2026-11-17"
    },
    "F278": {
      "label": "Developer need, node-fetch",
      "display": "Fetch in older Node.js code",
      "asOf": "2026-11-17"
    },
    "F279": {
      "label": "Pick reason, node-fetch",
      "display": "brings the Fetch API to Node.js",
      "asOf": "2026-11-17"
    },
    "F280": {
      "label": "Developer need, Gaxios",
      "display": "Calls to Google APIs",
      "asOf": "2026-11-17"
    },
    "F281": {
      "label": "Pick reason, Gaxios",
      "display": "an Axios-like client for Google services",
      "asOf": "2026-11-17"
    },
    "F282": {
      "label": "Developer need, Axios",
      "display": "One API in browser and Node.js",
      "asOf": "2026-11-17"
    },
    "F283": {
      "label": "Pick reason, Axios",
      "display": "promise-based client for both",
      "asOf": "2026-11-17"
    },
    "F284": {
      "label": "Developer need, Got",
      "display": "Retries and streams in Node.js",
      "asOf": "2026-11-17"
    },
    "F285": {
      "label": "Pick reason, Got",
      "display": "retries failed requests by default",
      "asOf": "2026-11-17"
    },
    "F286": {
      "label": "Developer need, make-fetch-happen",
      "display": "Cached requests in Node.js",
      "asOf": "2026-11-17"
    },
    "F287": {
      "label": "Pick reason, make-fetch-happen",
      "display": "adds an HTTP cache to fetch",
      "asOf": "2026-11-17"
    },
    "F288": {
      "label": "Developer need, SuperAgent",
      "display": "A chained request builder",
      "asOf": "2026-11-17"
    },
    "F289": {
      "label": "Pick reason, SuperAgent",
      "display": "builds requests with chained methods",
      "asOf": "2026-11-17"
    },
    "F290": {
      "label": "Developer need, ofetch",
      "display": "Fetch with JSON and retries",
      "asOf": "2026-11-17"
    },
    "F291": {
      "label": "Pick reason, ofetch",
      "display": "parses JSON and throws on errors",
      "asOf": "2026-11-17"
    },
    "F292": {
      "label": "Limitation lead",
      "display": "ES module only",
      "asOf": "2026-11-17"
    },
    "F293": {
      "label": "Limitation body",
      "display": "The current version can't be loaded with require; CommonJS projects stay on the previous major version.",
      "asOf": "2026-11-17"
    },
    "F294": {
      "label": "Limitation lead",
      "display": "No retries for writes",
      "asOf": "2026-11-17"
    },
    "F295": {
      "label": "Limitation body",
      "display": "POST, PUT, PATCH, and DELETE requests don't retry unless retry is set.",
      "asOf": "2026-11-17"
    }
  },
  "dataCheckedAt": "2026-11-19",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript HTTP client libraries Axios Got Ky Undici Node fetch code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
