{
  "type": "module",
  "source": "doc/api/index.md",
  "miscs": [
    {
      "textRaw": "undici",
      "name": "undici",
      "type": "misc",
      "desc": "<p><a href=\"https://github.com/nodejs/undici/actions/workflows/nodejs.yml\"><img src=\"https://github.com/nodejs/undici/actions/workflows/ci.yml/badge.svg\" alt=\"Node CI\"></a> <a href=\"https://github.com/neostandard/neostandard\"><img src=\"https://img.shields.io/badge/neo-standard-7fffff?style=flat&#x26;labelColor=ff80ff\" alt=\"neostandard javascript style\"></a> <a href=\"https://badge.fury.io/js/undici\"><img src=\"https://badge.fury.io/js/undici.svg\" alt=\"npm version\"></a> <a href=\"https://codecov.io/gh/nodejs/undici\"><img src=\"https://codecov.io/gh/nodejs/undici/branch/main/graph/badge.svg?token=yZL6LtXkOA\" alt=\"codecov\"></a></p>\n<p>An HTTP/1.1 client, written from scratch for Node.js.</p>\n<blockquote>\n<p>Undici means eleven in Italian. 1.1 -> 11 -> Eleven -> Undici.\nIt is also a Stranger Things reference.</p>\n</blockquote>",
      "miscs": [
        {
          "textRaw": "How to get involved",
          "name": "how_to_get_involved",
          "type": "misc",
          "desc": "<p>Have a question about using Undici? Open a <a href=\"https://github.com/nodejs/undici/discussions/new\">Q&#x26;A Discussion</a> or join our official OpenJS <a href=\"https://openjs-foundation.slack.com/archives/C01QF9Q31QD\">Slack</a> channel.</p>\n<p>Looking to contribute? Start by reading the <a href=\"./CONTRIBUTING.html\">contributing guide</a></p>",
          "displayName": "How to get involved"
        },
        {
          "textRaw": "Install",
          "name": "install",
          "type": "misc",
          "desc": "<pre><code class=\"language-bash\">npm i undici\n</code></pre>",
          "displayName": "Install"
        },
        {
          "textRaw": "Benchmarks",
          "name": "benchmarks",
          "type": "misc",
          "desc": "<p>The benchmark is a simple getting data <a href=\"https://github.com/nodejs/undici/blob/main/benchmarks/benchmark.js\">example</a> using\n50 TCP connections with a pipelining depth of 10 running on Node 24.14.1.</p>",
          "modules": [
            {
              "textRaw": "HTTP/1.1",
              "name": "http/1.1",
              "type": "module",
              "desc": "<pre><code class=\"language-text\">┌────────────────────────┬─────────┬────────────────────┬────────────┬─────────────────────────┐\n│  Tests                 │ Samples │ Result             │ Tolerance  │ Difference with slowest │\n├────────────────────────┼─────────┼────────────────────┼────────────┼─────────────────────────┤\n│  'node-fetch'          │ 50      │ '4711.86 req/sec'  │ '± 2.92 %' │ '-'                     │\n│  'undici - fetch'      │ 75      │ '5438.50 req/sec'  │ '± 2.97 %' │ '+ 15.42 %'             │\n│  'axios'               │ 45      │ '5448.08 req/sec'  │ '± 2.98 %' │ '+ 15.62 %'             │\n│  'request'             │ 65      │ '5809.63 req/sec'  │ '± 2.90 %' │ '+ 23.30 %'             │\n│  'http - no keepalive' │ 35      │ '5910.77 req/sec'  │ '± 2.87 %' │ '+ 25.44 %'             │\n│  'got'                 │ 50      │ '6047.80 req/sec'  │ '± 2.91 %' │ '+ 28.35 %'             │\n│  'superagent'          │ 60      │ '7534.53 req/sec'  │ '± 2.97 %' │ '+ 59.91 %'             │\n│  'http - keepalive'    │ 75      │ '9343.41 req/sec'  │ '± 2.90 %' │ '+ 98.30 %'             │\n│  'undici - pipeline'   │ 65      │ '13470.70 req/sec' │ '± 2.93 %' │ '+ 185.89 %'            │\n│  'undici - request'    │ 80      │ '16850.87 req/sec' │ '± 2.93 %' │ '+ 257.63 %'            │\n│  'undici - stream'     │ 101     │ '18488.56 req/sec' │ '± 3.81 %' │ '+ 292.38 %'            │\n│  'undici - dispatch'   │ 101     │ '20786.44 req/sec' │ '± 3.08 %' │ '+ 341.15 %'            │\n└────────────────────────┴─────────┴────────────────────┴────────────┴─────────────────────────┘\n</code></pre>",
              "displayName": "HTTP/1.1"
            },
            {
              "textRaw": "HTTP/1.1 over HTTPS",
              "name": "http/1.1_over_https",
              "type": "module",
              "desc": "<p>Using <a href=\"https://github.com/nodejs/undici/blob/main/benchmarks/benchmark-https.js\">benchmark-https.js</a> against an h1-over-TLS server (50 connections, pipelining depth 10, Node 24.14.1).</p>\n<pre><code class=\"language-text\">┌────────────────────────┬─────────┬───────────────────┬────────────┬─────────────────────────┐\n│  Tests                 │ Samples │ Result            │ Tolerance  │ Difference with slowest │\n├────────────────────────┼─────────┼───────────────────┼────────────┼─────────────────────────┤\n│  'https - no keepalive'│ 10      │ '1358.40 req/sec' │ '± 1.99 %' │ '-'                     │\n│  'undici - fetch'      │ 30      │ '3721.76 req/sec' │ '± 2.97 %' │ '+ 173.98 %'            │\n│  'https - keepalive'   │ 35      │ '5633.91 req/sec' │ '± 2.84 %' │ '+ 314.75 %'            │\n│  'undici - pipeline'   │ 15      │ '6254.05 req/sec' │ '± 2.80 %' │ '+ 360.40 %'            │\n│  'undici - request'    │ 25      │ '6669.80 req/sec' │ '± 2.73 %' │ '+ 391.01 %'            │\n│  'undici - stream'     │ 25      │ '7019.04 req/sec' │ '± 2.77 %' │ '+ 416.71 %'            │\n│  'undici - dispatch'   │ 20      │ '7361.85 req/sec' │ '± 2.90 %' │ '+ 441.95 %'            │\n└────────────────────────┴─────────┴───────────────────┴────────────┴─────────────────────────┘\n</code></pre>",
              "displayName": "HTTP/1.1 over HTTPS"
            },
            {
              "textRaw": "HTTP/2",
              "name": "http/2",
              "type": "module",
              "desc": "<p>Using <a href=\"https://github.com/nodejs/undici/blob/main/benchmarks/benchmark-http2.js\">benchmark-http2.js</a> against an h2 server (50 connections, pipelining depth 10, Node 24.14.1).</p>\n<pre><code class=\"language-text\">┌────────────────────────┬─────────┬───────────────────┬────────────┬─────────────────────────┐\n│  Tests                 │ Samples │ Result            │ Tolerance  │ Difference with slowest │\n├────────────────────────┼─────────┼───────────────────┼────────────┼─────────────────────────┤\n│  'undici - fetch'      │ 45      │ '3499.03 req/sec' │ '± 2.93 %' │ '-'                     │\n│  'native - http2'      │ 25      │ '4904.58 req/sec' │ '± 2.81 %' │ '+ 40.17 %'             │\n│  'undici - pipeline'   │ 60      │ '5836.82 req/sec' │ '± 2.99 %' │ '+ 66.81 %'             │\n│  'undici - request'    │ 65      │ '6831.25 req/sec' │ '± 2.83 %' │ '+ 95.23 %'             │\n│  'undici - stream'     │ 55      │ '6874.30 req/sec' │ '± 2.91 %' │ '+ 96.46 %'             │\n│  'undici - dispatch'   │ 55      │ '7791.23 req/sec' │ '± 2.96 %' │ '+ 122.67 %'            │\n└────────────────────────┴─────────┴───────────────────┴────────────┴─────────────────────────┘\n</code></pre>",
              "displayName": "HTTP/2"
            }
          ],
          "displayName": "Benchmarks"
        },
        {
          "textRaw": "Undici vs. Fetch",
          "name": "undici_vs._fetch",
          "type": "misc",
          "modules": [
            {
              "textRaw": "Overview",
              "name": "overview",
              "type": "module",
              "desc": "<p>Node.js includes a built-in <code>fetch()</code> implementation powered by undici starting from Node.js v18. However, there are important differences between using the built-in fetch and installing undici as a separate module.</p>",
              "displayName": "Overview"
            },
            {
              "textRaw": "Built-in Fetch (Node.js v18+)",
              "name": "built-in_fetch_(node.js_v18+)",
              "type": "module",
              "desc": "<p>Node.js's built-in fetch is powered by a bundled version of undici:</p>\n<pre><code class=\"language-js\">// Available globally in Node.js v18+\nconst response = await fetch('https://api.example.com/data');\nconst data = await response.json();\n\n// Check the bundled undici version\nconsole.log(process.versions.undici); // e.g., \"5.28.4\"\n</code></pre>\n<p><strong>Pros:</strong></p>\n<ul>\n<li>No additional dependencies required</li>\n<li>Works across different JavaScript runtimes</li>\n<li>Automatic compression handling (gzip, deflate, br)</li>\n<li>Built-in caching support (in development)</li>\n</ul>\n<p><strong>Cons:</strong></p>\n<ul>\n<li>Limited to the undici version bundled with your Node.js version</li>\n<li>Less control over connection pooling and advanced features</li>\n<li>Error handling follows Web API standards (errors wrapped in <code>TypeError</code>)</li>\n<li>Performance overhead due to Web Streams implementation</li>\n</ul>",
              "displayName": "Built-in Fetch (Node.js v18+)"
            },
            {
              "textRaw": "Undici Module",
              "name": "undici_module",
              "type": "module",
              "desc": "<p>Installing undici as a separate module gives you access to the latest features and APIs:</p>\n<pre><code class=\"language-bash\">npm install undici\n</code></pre>\n<pre><code class=\"language-js\">import { request, fetch, Agent, setGlobalDispatcher } from 'undici';\n\n// Use undici.request for maximum performance\nconst { statusCode, headers, body } = await request('https://api.example.com/data');\nconst data = await body.json();\n\n// Or use undici.fetch with custom configuration\nconst agent = new Agent({ keepAliveTimeout: 10000 });\nsetGlobalDispatcher(agent);\nconst response = await fetch('https://api.example.com/data');\n</code></pre>\n<p><strong>Pros:</strong></p>\n<ul>\n<li>Latest undici features and bug fixes</li>\n<li>Access to advanced APIs (<code>request</code>, <code>stream</code>, <code>pipeline</code>)</li>\n<li>Fine-grained control over connection pooling</li>\n<li>Better error handling with clearer error messages</li>\n<li>Superior performance, especially with <code>undici.request</code></li>\n<li>HTTP/1.1 pipelining support</li>\n<li>Custom interceptors and middleware</li>\n<li>Advanced features like <code>ProxyAgent</code>, <code>Socks5Agent</code>, <code>MockAgent</code></li>\n</ul>\n<p><strong>Cons:</strong></p>\n<ul>\n<li>Additional dependency to manage</li>\n<li>Larger bundle size</li>\n</ul>",
              "displayName": "Undici Module"
            },
            {
              "textRaw": "When to Use Each",
              "name": "when_to_use_each",
              "type": "module",
              "modules": [
                {
                  "textRaw": "Use Built-in Fetch When:",
                  "name": "use_built-in_fetch_when:",
                  "type": "module",
                  "desc": "<ul>\n<li>You want zero dependencies</li>\n<li>Building isomorphic code that runs in browsers and Node.js</li>\n<li>Publishing to npm and want to maximize compatibility with JS runtimes</li>\n<li>Simple HTTP requests without advanced configuration</li>\n<li>You're publishing to npm and you want to maximize compatiblity</li>\n<li>You don't depend on features from a specific version of undici</li>\n</ul>",
                  "displayName": "Use Built-in Fetch When:"
                },
                {
                  "textRaw": "Use Undici Module When:",
                  "name": "use_undici_module_when:",
                  "type": "module",
                  "desc": "<ul>\n<li>You need the latest undici features and performance improvements</li>\n<li>You require advanced connection pooling configuration</li>\n<li>You need APIs not available in the built-in fetch (<code>ProxyAgent</code>, <code>Socks5Agent</code>, <code>MockAgent</code>, etc.)</li>\n<li>Performance is critical (use <code>undici.request</code> for maximum speed)</li>\n<li>You want better error handling and debugging capabilities</li>\n<li>You need HTTP/1.1 pipelining or advanced interceptors</li>\n<li>You prefer decoupled protocol and API interfaces</li>\n</ul>",
                  "displayName": "Use Undici Module When:"
                }
              ],
              "displayName": "When to Use Each"
            },
            {
              "textRaw": "Performance Comparison",
              "name": "performance_comparison",
              "type": "module",
              "desc": "<p>Based on benchmarks, here's the typical performance hierarchy:</p>\n<ol>\n<li><strong><code>undici.request()</code></strong> - Fastest, most efficient</li>\n<li><strong><code>undici.fetch()</code></strong> - Good performance, standard compliance</li>\n<li><strong>Node.js <code>http</code>/<code>https</code></strong> - Baseline performance</li>\n</ol>",
              "displayName": "Performance Comparison"
            },
            {
              "textRaw": "Migration Guide",
              "name": "migration_guide",
              "type": "module",
              "desc": "<p>If you're currently using built-in fetch and want to migrate to undici:</p>\n<pre><code class=\"language-js\">// Before: Built-in fetch\nconst response = await fetch('https://api.example.com/data');\n\n// After: Undici fetch (drop-in replacement)\nimport { fetch } from 'undici';\nconst response = await fetch('https://api.example.com/data');\n\n// Or: Undici request (better performance)\nimport { request } from 'undici';\nconst { statusCode, body } = await request('https://api.example.com/data');\nconst data = await body.json();\n</code></pre>",
              "displayName": "Migration Guide"
            },
            {
              "textRaw": "Keep `fetch` and `FormData` together",
              "name": "keep_`fetch`_and_`formdata`_together",
              "type": "module",
              "desc": "<p>When you send a <code>FormData</code> body, keep <code>fetch</code> and <code>FormData</code> from the same\nimplementation.</p>\n<p>Use one of these patterns:</p>\n<pre><code class=\"language-js\">// Built-in globals\nconst body = new FormData()\nbody.set('name', 'some')\nawait fetch('https://example.com', {\n  method: 'POST',\n  body\n})\n</code></pre>\n<pre><code class=\"language-js\">// undici module imports\nimport { fetch, FormData } from 'undici'\n\nconst body = new FormData()\nbody.set('name', 'some')\nawait fetch('https://example.com', {\n  method: 'POST',\n  body\n})\n</code></pre>\n<p>If you want the installed <code>undici</code> package to provide the globals, call\n<code>install()</code> first:</p>\n<pre><code class=\"language-js\">import { install } from 'undici'\n\ninstall()\n\nconst body = new FormData()\nbody.set('name', 'some')\nawait fetch('https://example.com', {\n  method: 'POST',\n  body\n})\n</code></pre>\n<p><code>install()</code> replaces the global <code>fetch</code>, <code>Headers</code>, <code>Response</code>, <code>Request</code>, and\n<code>FormData</code> implementations with undici's versions, so they all match. It also\ninstalls undici's <code>WebSocket</code>, <code>CloseEvent</code>, <code>ErrorEvent</code>, <code>MessageEvent</code>, and\n<code>EventSource</code> globals.</p>\n<p>Avoid mixing a global <code>FormData</code> with <code>undici.fetch()</code>, or <code>undici.FormData</code>\nwith the built-in global <code>fetch()</code>.</p>",
              "displayName": "Keep `fetch` and `FormData` together"
            },
            {
              "textRaw": "Version Compatibility",
              "name": "version_compatibility",
              "type": "module",
              "desc": "<p>You can check which version of undici is bundled with your Node.js version:</p>\n<pre><code class=\"language-js\">console.log(process.versions.undici);\n</code></pre>\n<p>Installing undici as a module allows you to use a newer version than what's bundled with Node.js, giving you access to the latest features and performance improvements.</p>",
              "displayName": "Version Compatibility"
            }
          ],
          "displayName": "Undici vs. Fetch"
        },
        {
          "textRaw": "Quick Start",
          "name": "quick_start",
          "type": "misc",
          "modules": [
            {
              "textRaw": "Basic Request",
              "name": "basic_request",
              "type": "module",
              "desc": "<pre><code class=\"language-js\">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)\n\nfor await (const data of body) { console.log('data', data) }\n\nconsole.log('trailers', trailers)\n</code></pre>",
              "displayName": "Basic Request"
            },
            {
              "textRaw": "Using Cache Interceptor",
              "name": "using_cache_interceptor",
              "type": "module",
              "desc": "<p>Undici provides a powerful HTTP caching interceptor that follows HTTP caching best practices. Here's how to use it:</p>\n<pre><code class=\"language-js\">import { fetch, Agent, interceptors, cacheStores } from 'undici';\n\n// Create a client with cache interceptor\nconst client = new Agent().compose(interceptors.cache({\n  // Optional: Configure cache store (defaults to MemoryCacheStore)\n  store: new cacheStores.MemoryCacheStore({\n    maxSize: 100 * 1024 * 1024, // 100MB\n    maxCount: 1000,\n    maxEntrySize: 5 * 1024 * 1024 // 5MB\n  }),\n  \n  // Optional: Specify which HTTP methods to cache (default: ['GET', 'HEAD'])\n  methods: ['GET', 'HEAD']\n}));\n\n// Set the global dispatcher to use our caching client\nsetGlobalDispatcher(client);\n\n// Now all fetch requests will use the cache\nasync function getData() {\n  const response = await fetch('https://api.example.com/data');\n  // The server should set appropriate Cache-Control headers in the response\n  // which the cache will respect based on the cache policy\n  return response.json();\n}\n\n// First request - fetches from origin\nconst data1 = await getData();\n\n// Second request - served from cache if within max-age\nconst data2 = await getData();\n</code></pre>",
              "modules": [
                {
                  "textRaw": "Key Features:",
                  "name": "key_features:",
                  "type": "module",
                  "desc": "<ul>\n<li><strong>Automatic Caching</strong>: Respects <code>Cache-Control</code> and <code>Expires</code> headers</li>\n<li><strong>Validation</strong>: Supports <code>ETag</code> and <code>Last-Modified</code> validation</li>\n<li><strong>Storage Options</strong>: In-memory or persistent SQLite storage</li>\n<li><strong>Flexible</strong>: Configure cache size, TTL, and more</li>\n</ul>",
                  "displayName": "Key Features:"
                }
              ],
              "displayName": "Using Cache Interceptor"
            }
          ],
          "displayName": "Quick Start"
        },
        {
          "textRaw": "Global Installation",
          "name": "global_installation",
          "type": "misc",
          "desc": "<p>Undici provides an <code>install()</code> function to add fetch-related and other web API classes to <code>globalThis</code>, making them available globally:</p>\n<pre><code class=\"language-js\">import { install } from 'undici'\n\n// Install undici's global web APIs\ninstall()\n\n// Now you can use fetch classes globally without importing\nconst response = await fetch('https://api.example.com/data')\nconst data = await response.json()\n\n// All classes are available globally:\nconst headers = new Headers([['content-type', 'application/json']])\nconst request = new Request('https://example.com')\nconst formData = new FormData()\nconst ws = new WebSocket('wss://example.com')\nconst eventSource = new EventSource('https://example.com/events')\n</code></pre>\n<p>The <code>install()</code> function adds the following classes to <code>globalThis</code>:</p>\n<ul>\n<li><code>fetch</code> - The fetch function</li>\n<li><code>Headers</code> - HTTP headers management</li>\n<li><code>Response</code> - HTTP response representation</li>\n<li><code>Request</code> - HTTP request representation</li>\n<li><code>FormData</code> - Form data handling</li>\n<li><code>WebSocket</code> - WebSocket client</li>\n<li><code>CloseEvent</code>, <code>ErrorEvent</code>, <code>MessageEvent</code> - WebSocket events</li>\n<li><code>EventSource</code> - Server-sent events client</li>\n</ul>\n<p>When you call <code>install()</code>, these globals come from the same undici\nimplementation. For example, global <code>fetch</code> and global <code>FormData</code> will both be\nundici's versions, and <code>WebSocket</code> and <code>EventSource</code> will also come from\nundici, which is the recommended setup if you want to use undici through\nglobals.</p>\n<p>This is useful for:</p>\n<ul>\n<li>Polyfilling environments that don't have fetch</li>\n<li>Ensuring consistent fetch behavior across different Node.js versions</li>\n<li>Making undici's implementations available globally for libraries that expect them</li>\n</ul>",
          "displayName": "Global Installation"
        },
        {
          "textRaw": "Body Mixins",
          "name": "body_mixins",
          "type": "misc",
          "desc": "<p>The <code>body</code> mixins are the most common way to format the request/response body. Mixins include:</p>\n<ul>\n<li><a href=\"https://fetch.spec.whatwg.org/#dom-body-arraybuffer\"><code>.arrayBuffer()</code></a></li>\n<li><a href=\"https://fetch.spec.whatwg.org/#dom-body-blob\"><code>.blob()</code></a></li>\n<li><a href=\"https://fetch.spec.whatwg.org/#dom-body-bytes\"><code>.bytes()</code></a></li>\n<li><a href=\"https://fetch.spec.whatwg.org/#dom-body-json\"><code>.json()</code></a></li>\n<li><a href=\"https://fetch.spec.whatwg.org/#dom-body-text\"><code>.text()</code></a></li>\n</ul>\n<blockquote>\n<p>[!NOTE]\nThe body returned from <code>undici.request</code> does not implement <code>.formData()</code>.</p>\n</blockquote>\n<blockquote>\n<p>[!WARNING]\nCalling <code>body.formData()</code> on a fetch response causes undici to buffer and parse the entire body. Since this is dictated by the spec, <code>body.formData()</code> must only be called on responses from trusted servers.</p>\n</blockquote>\n<p>Example usage:</p>\n<pre><code class=\"language-js\">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</code></pre>\n<p><em>Note: Once a mixin has been called then the body cannot be reused, thus calling additional mixins on <code>.body</code>, e.g. <code>.body.json(); .body.text()</code> will result in an error <code>TypeError: unusable</code> being thrown and returned through the <code>Promise</code> rejection.</em></p>\n<p>Should you need to access the <code>body</code> in plain-text after using a mixin, the best practice is to use the <code>.text()</code> mixin first and then manually parse the text to the desired format.</p>\n<p>For more information about their behavior, please reference the body mixin from the <a href=\"https://fetch.spec.whatwg.org/#body-mixin\">Fetch Standard</a>.</p>",
          "displayName": "Body Mixins"
        },
        {
          "textRaw": "Common API Methods",
          "name": "common_api_methods",
          "type": "misc",
          "desc": "<p>This section documents our most commonly used API methods. Additional APIs are documented in their own files within the <a href=\"./docs/\">docs</a> folder and are accessible via the navigation list on the left side of the docs site.</p>",
          "methods": [
            {
              "textRaw": "`undici.request([url, options])`",
              "name": "request",
              "type": "method",
              "signatures": [
                {
                  "params": [
                    {
                      "textRaw": "`url` {string|URL|UrlObject}",
                      "name": "url",
                      "type": "string|URL|UrlObject",
                      "optional": true
                    },
                    {
                      "textRaw": "`options` {RequestOptions} See `RequestOptions`.",
                      "name": "options",
                      "type": "RequestOptions",
                      "desc": "See `RequestOptions`.",
                      "options": [
                        {
                          "textRaw": "`dispatcher` {Dispatcher} **Default:** getGlobalDispatcher.",
                          "name": "dispatcher",
                          "type": "Dispatcher",
                          "default": "getGlobalDispatcher"
                        },
                        {
                          "textRaw": "`method` {string} **Default:** `PUT` if `options.body`, otherwise `GET`.",
                          "name": "method",
                          "type": "string",
                          "default": "`PUT` if `options.body`, otherwise `GET`"
                        }
                      ],
                      "optional": true
                    }
                  ],
                  "return": {
                    "textRaw": "Returns: {Promise} A promise with the result of the `Dispatcher.request` method.",
                    "name": "return",
                    "type": "Promise",
                    "desc": "A promise with the result of the `Dispatcher.request` method."
                  }
                }
              ],
              "desc": "<p>Calls <code>options.dispatcher.request(options)</code>.</p>\n<p>See <a href=\"./docs/docs/api/Dispatcher.html#dispatcherrequestoptions-callback\">Dispatcher.request</a> for more details, and <a href=\"./docs/examples/README.html\">request examples</a> for examples.</p>"
            },
            {
              "textRaw": "`undici.stream([url, options, ]factory)`",
              "name": "stream",
              "type": "method",
              "signatures": [
                {
                  "params": [
                    {
                      "textRaw": "`url` {string|URL|UrlObject}",
                      "name": "url",
                      "type": "string|URL|UrlObject",
                      "optional": true
                    },
                    {
                      "textRaw": "`options` {StreamOptions} See `StreamOptions`.",
                      "name": "options",
                      "type": "StreamOptions",
                      "desc": "See `StreamOptions`.",
                      "options": [
                        {
                          "textRaw": "`dispatcher` {Dispatcher} **Default:** getGlobalDispatcher.",
                          "name": "dispatcher",
                          "type": "Dispatcher",
                          "default": "getGlobalDispatcher"
                        },
                        {
                          "textRaw": "`method` {string} **Default:** `PUT` if `options.body`, otherwise `GET`.",
                          "name": "method",
                          "type": "string",
                          "default": "`PUT` if `options.body`, otherwise `GET`"
                        }
                      ],
                      "optional": true
                    },
                    {
                      "textRaw": "`factory` {Function} `Dispatcher.stream.factory`.",
                      "name": "factory",
                      "type": "Function",
                      "desc": "`Dispatcher.stream.factory`."
                    }
                  ],
                  "return": {
                    "textRaw": "Returns: {Promise} A promise with the result of the `Dispatcher.stream` method.",
                    "name": "return",
                    "type": "Promise",
                    "desc": "A promise with the result of the `Dispatcher.stream` method."
                  }
                }
              ],
              "desc": "<p>Calls <code>options.dispatcher.stream(options, factory)</code>.</p>\n<p>See <a href=\"./docs/docs/api/Dispatcher.html#dispatcherstreamoptions-factory-callback\">Dispatcher.stream</a> for more details.</p>"
            },
            {
              "textRaw": "`undici.pipeline([url, options, ]handler)`",
              "name": "pipeline",
              "type": "method",
              "signatures": [
                {
                  "params": [
                    {
                      "textRaw": "`url` {string|URL|UrlObject}",
                      "name": "url",
                      "type": "string|URL|UrlObject",
                      "optional": true
                    },
                    {
                      "textRaw": "`options` {PipelineOptions} See `PipelineOptions`.",
                      "name": "options",
                      "type": "PipelineOptions",
                      "desc": "See `PipelineOptions`.",
                      "options": [
                        {
                          "textRaw": "`dispatcher` {Dispatcher} **Default:** getGlobalDispatcher.",
                          "name": "dispatcher",
                          "type": "Dispatcher",
                          "default": "getGlobalDispatcher"
                        },
                        {
                          "textRaw": "`method` {string} **Default:** `PUT` if `options.body`, otherwise `GET`.",
                          "name": "method",
                          "type": "string",
                          "default": "`PUT` if `options.body`, otherwise `GET`"
                        }
                      ],
                      "optional": true
                    },
                    {
                      "textRaw": "`handler` {Function} `Dispatcher.pipeline.handler`.",
                      "name": "handler",
                      "type": "Function",
                      "desc": "`Dispatcher.pipeline.handler`."
                    }
                  ],
                  "return": {
                    "textRaw": "Returns: {Duplex} A `stream.Duplex`.",
                    "name": "return",
                    "type": "Duplex",
                    "desc": "A `stream.Duplex`."
                  }
                }
              ],
              "desc": "<p>Calls <code>options.dispatch.pipeline(options, handler)</code>.</p>\n<p>See <a href=\"./docs/docs/api/Dispatcher.html#dispatcherpipelineoptions-handler\">Dispatcher.pipeline</a> for more details.</p>"
            },
            {
              "textRaw": "`undici.connect([url, options])`",
              "name": "connect",
              "type": "method",
              "signatures": [
                {
                  "params": [
                    {
                      "textRaw": "`url` {string|URL|UrlObject}",
                      "name": "url",
                      "type": "string|URL|UrlObject",
                      "optional": true
                    },
                    {
                      "textRaw": "`options` {ConnectOptions} See `ConnectOptions`.",
                      "name": "options",
                      "type": "ConnectOptions",
                      "desc": "See `ConnectOptions`.",
                      "options": [
                        {
                          "textRaw": "`dispatcher` {Dispatcher} **Default:** getGlobalDispatcher.",
                          "name": "dispatcher",
                          "type": "Dispatcher",
                          "default": "getGlobalDispatcher"
                        }
                      ],
                      "optional": true
                    }
                  ],
                  "return": {
                    "textRaw": "Returns: {Promise} A promise with the result of the `Dispatcher.connect` method.",
                    "name": "return",
                    "type": "Promise",
                    "desc": "A promise with the result of the `Dispatcher.connect` method."
                  }
                }
              ],
              "desc": "<p>Starts two-way communications with the requested resource using <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/CONNECT\">HTTP CONNECT</a>.</p>\n<p>Calls <code>options.dispatch.connect(options)</code>.</p>\n<p>See <a href=\"./docs/docs/api/Dispatcher.html#dispatcherconnectoptions-callback\">Dispatcher.connect</a> for more details.</p>"
            },
            {
              "textRaw": "`undici.fetch(input[, init])`",
              "name": "fetch",
              "type": "method",
              "signatures": [
                {
                  "params": [
                    {
                      "name": "input"
                    },
                    {
                      "name": "init",
                      "optional": true
                    }
                  ]
                }
              ],
              "desc": "<p>Implements <a href=\"https://fetch.spec.whatwg.org/#fetch-method\">fetch</a>.</p>\n<ul>\n<li><a href=\"https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch\">https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch</a></li>\n<li><a href=\"https://fetch.spec.whatwg.org/#fetch-method\">https://fetch.spec.whatwg.org/#fetch-method</a></li>\n</ul>\n<p>Basic usage example:</p>\n<pre><code class=\"language-js\">import { fetch } from 'undici'\n\n\nconst res = await fetch('https://example.com')\nconst json = await res.json()\nconsole.log(json)\n</code></pre>\n<p>You can pass an optional dispatcher to <code>fetch</code> as:</p>\n<pre><code class=\"language-js\">import { fetch, Agent } from 'undici'\n\nconst res = await fetch('https://example.com', {\n  // Mocks are also supported\n  dispatcher: new Agent({\n    keepAliveTimeout: 10,\n    keepAliveMaxTimeout: 10\n  })\n})\nconst json = await res.json()\nconsole.log(json)\n</code></pre>",
              "properties": [
                {
                  "textRaw": "`request.body`",
                  "name": "body",
                  "type": "property",
                  "desc": "<p>A body can be of the following types:</p>\n<ul>\n<li>ArrayBuffer</li>\n<li>ArrayBufferView</li>\n<li>AsyncIterables</li>\n<li>Blob</li>\n<li>Iterables</li>\n<li>String</li>\n<li>URLSearchParams</li>\n<li>FormData</li>\n</ul>\n<p>In this implementation of fetch, <code>request.body</code> now accepts <code>Async Iterables</code>. It is not present in the <a href=\"https://fetch.spec.whatwg.org\">Fetch Standard</a>.</p>\n<pre><code class=\"language-js\">import { fetch } from 'undici'\n\nconst data = {\n  async *[Symbol.asyncIterator]() {\n    yield 'hello'\n    yield 'world'\n  },\n}\n\nawait fetch('https://example.com', { body: data, method: 'POST', duplex: 'half' })\n</code></pre>\n<p><a href=\"https://developer.mozilla.org/en-US/docs/Web/API/FormData\">FormData</a> besides text data and buffers can also utilize streams via <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Blob\">Blob</a> objects:</p>\n<pre><code class=\"language-js\">import { openAsBlob } from 'node:fs'\n\nconst file = await openAsBlob('./big.csv')\nconst body = new FormData()\nbody.set('file', file, 'big.csv')\n\nawait fetch('http://example.com', { method: 'POST', body })\n</code></pre>"
                },
                {
                  "textRaw": "`request.duplex`",
                  "name": "duplex",
                  "type": "property",
                  "desc": "<ul>\n<li><code>'half'</code></li>\n</ul>\n<p>In this implementation of fetch, <code>request.duplex</code> must be set if <code>request.body</code> is <code>ReadableStream</code> or <code>Async Iterables</code>, however, even though the value must be set to <code>'half'</code>, it is actually a <em>full</em> duplex. For more detail refer to the <a href=\"https://fetch.spec.whatwg.org/#dom-requestinit-duplex\">Fetch Standard</a>.</p>"
                },
                {
                  "textRaw": "`response.body`",
                  "name": "body",
                  "type": "property",
                  "desc": "<p>Nodejs has two kinds of streams: <a href=\"https://nodejs.org/api/webstreams.html\">web streams</a>, which follow the API of the WHATWG web standard found in browsers, and an older Node-specific <a href=\"https://nodejs.org/api/stream.html\">streams API</a>. <code>response.body</code> returns a readable web stream. If you would prefer to work with a Node stream you can convert a web stream using <code>.fromWeb()</code>.</p>\n<pre><code class=\"language-js\">import { fetch } from 'undici'\nimport { Readable } from 'node:stream'\n\nconst response = await fetch('https://example.com')\nconst readableWebStream = response.body\nconst readableNodeStream = Readable.fromWeb(readableWebStream)\n</code></pre>"
                }
              ]
            }
          ],
          "displayName": "Common API Methods"
        },
        {
          "textRaw": "Specification Compliance",
          "name": "specification_compliance",
          "type": "misc",
          "desc": "<p>This section documents parts of the <a href=\"https://www.rfc-editor.org/rfc/rfc9110.html\">HTTP/1.1</a> and <a href=\"https://fetch.spec.whatwg.org\">Fetch Standard</a> that Undici does\nnot support or does not fully implement.</p>",
          "modules": [
            {
              "textRaw": "CORS",
              "name": "cors",
              "type": "module",
              "desc": "<p>Unlike browsers, Undici does not implement CORS (Cross-Origin Resource Sharing) checks by default. This means:</p>\n<ul>\n<li>No preflight requests are automatically sent for cross-origin requests</li>\n<li>No validation of <code>Access-Control-Allow-Origin</code> headers is performed</li>\n<li>Requests to any origin are allowed regardless of the source</li>\n</ul>\n<p>This behavior is intentional for server-side environments where CORS restrictions are typically unnecessary. If your application requires CORS-like protections, you will need to implement these checks manually.</p>",
              "displayName": "CORS"
            },
            {
              "textRaw": "Garbage Collection",
              "name": "garbage_collection",
              "type": "module",
              "desc": "<ul>\n<li><a href=\"https://fetch.spec.whatwg.org/#garbage-collection\">https://fetch.spec.whatwg.org/#garbage-collection</a></li>\n</ul>\n<p>The <a href=\"https://fetch.spec.whatwg.org\">Fetch Standard</a> allows users to skip consuming the response body by relying on\n<a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management#garbage_collection\">garbage collection</a> to release connection resources.</p>\n<p>Garbage collection in Node is less aggressive and deterministic\n(due to the lack of clear idle periods that browsers have through the rendering refresh rate)\nwhich means that leaving the release of connection resources to the garbage collector can lead\nto excessive connection usage, reduced performance (due to less connection re-use), and even\nstalls or deadlocks when running out of connections.\nTherefore, <strong>it is important to always either consume or cancel the response body anyway</strong>.</p>\n<pre><code class=\"language-js\">// Do\nconst { body, headers } = await fetch(url);\nfor await (const chunk of body) {\n  // force consumption of body\n}\n\n// Do not\nconst { headers } = await fetch(url);\n</code></pre>\n<p>However, if you want to get only headers, it might be better to use <code>HEAD</code> request method. Usage of this method will obviate the need for consumption or cancelling of the response body. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/HEAD\">MDN - HTTP - HTTP request methods - HEAD</a> for more details.</p>\n<pre><code class=\"language-js\">const headers = await fetch(url, { method: 'HEAD' })\n  .then(res => res.headers)\n</code></pre>\n<p>Note that consuming the response body is <em>mandatory</em> for <code>request</code>:</p>\n<pre><code class=\"language-js\">// Do\nconst { body, headers } = await request(url);\nawait body.dump(); // force consumption of body\n\n// Do not\nconst { headers } = await request(url);\n</code></pre>",
              "displayName": "Garbage Collection"
            },
            {
              "textRaw": "Forbidden and Safelisted Header Names",
              "name": "forbidden_and_safelisted_header_names",
              "type": "module",
              "desc": "<ul>\n<li><a href=\"https://fetch.spec.whatwg.org/#cors-safelisted-response-header-name\">https://fetch.spec.whatwg.org/#cors-safelisted-response-header-name</a></li>\n<li><a href=\"https://fetch.spec.whatwg.org/#forbidden-header-name\">https://fetch.spec.whatwg.org/#forbidden-header-name</a></li>\n<li><a href=\"https://fetch.spec.whatwg.org/#forbidden-response-header-name\">https://fetch.spec.whatwg.org/#forbidden-response-header-name</a></li>\n<li><a href=\"https://github.com/wintercg/fetch/issues/6\">https://github.com/wintercg/fetch/issues/6</a></li>\n</ul>\n<p>The <a href=\"https://fetch.spec.whatwg.org\">Fetch Standard</a> requires implementations to exclude certain headers from requests and responses. In browser environments, some headers are forbidden so the user agent remains in full control over them. In Undici, these constraints are removed to give more control to the user.</p>",
              "displayName": "Forbidden and Safelisted Header Names"
            },
            {
              "textRaw": "Content-Encoding",
              "name": "content-encoding",
              "type": "module",
              "desc": "<ul>\n<li><a href=\"https://www.rfc-editor.org/rfc/rfc9110#field.content-encoding\">https://www.rfc-editor.org/rfc/rfc9110#field.content-encoding</a></li>\n</ul>\n<p>Undici limits the number of <code>Content-Encoding</code> layers in a response to <strong>5</strong> to prevent resource exhaustion attacks. If a server responds with more than 5 content-encodings (e.g., <code>Content-Encoding: gzip, gzip, gzip, gzip, gzip, gzip</code>), the fetch will be rejected with an error. This limit matches the approach taken by <a href=\"https://curl.se/docs/CVE-2022-32206.html\">curl</a> and <a href=\"https://github.com/advisories/GHSA-gm62-xv2j-4rw9\">urllib3</a>.</p>",
              "displayName": "Content-Encoding"
            },
            {
              "textRaw": "`UrlObject`",
              "name": "`urlobject`",
              "type": "module",
              "desc": "<ul>\n<li><code>port</code> <a href=\"https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type\"><code>&#x3C;string></code></a> | <a href=\"https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type\"><code>&#x3C;number></code></a> (optional)</li>\n<li><code>path</code> <a href=\"https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type\"><code>&#x3C;string></code></a> (optional)</li>\n<li><code>pathname</code> <a href=\"https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type\"><code>&#x3C;string></code></a> (optional)</li>\n<li><code>hostname</code> <a href=\"https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type\"><code>&#x3C;string></code></a> (optional)</li>\n<li><code>origin</code> <a href=\"https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type\"><code>&#x3C;string></code></a> (optional)</li>\n<li><code>protocol</code> <a href=\"https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type\"><code>&#x3C;string></code></a> (optional)</li>\n<li><code>search</code> <a href=\"https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type\"><code>&#x3C;string></code></a> (optional)</li>\n</ul>",
              "modules": [
                {
                  "textRaw": "Expect",
                  "name": "expect",
                  "type": "module",
                  "desc": "<p>Undici does not support the <code>Expect</code> request header field. The request\nbody is  always immediately sent and the <code>100 Continue</code> response will be\nignored.</p>\n<p>Refs: <a href=\"https://tools.ietf.org/html/rfc7231#section-5.1.1\">https://tools.ietf.org/html/rfc7231#section-5.1.1</a></p>",
                  "displayName": "Expect"
                },
                {
                  "textRaw": "Pipelining",
                  "name": "pipelining",
                  "type": "module",
                  "desc": "<p>Undici will only use pipelining if configured with a <code>pipelining</code> factor\ngreater than <code>1</code>. Also it is important to pass <code>blocking: false</code> to the\nrequest options to properly pipeline requests.</p>\n<p>Undici always assumes that connections are persistent and will immediately\npipeline requests, without checking whether the connection is persistent.\nHence, automatic fallback to HTTP/1.0 or HTTP/1.1 without pipelining is\nnot supported.</p>\n<p>Undici will immediately pipeline when retrying requests after a failed\nconnection. However, Undici will not retry the first remaining requests in\nthe prior pipeline and instead error the corresponding callback/promise/stream.</p>\n<p>Undici will abort all running requests in the pipeline when any of them are\naborted.</p>\n<ul>\n<li>Refs: <a href=\"https://tools.ietf.org/html/rfc2616#section-8.1.2.2\">https://tools.ietf.org/html/rfc2616#section-8.1.2.2</a></li>\n<li>Refs: <a href=\"https://tools.ietf.org/html/rfc7230#section-6.3.2\">https://tools.ietf.org/html/rfc7230#section-6.3.2</a></li>\n</ul>",
                  "displayName": "Pipelining"
                },
                {
                  "textRaw": "Manual Redirect",
                  "name": "manual_redirect",
                  "type": "module",
                  "desc": "<p>Since it is not possible to manually follow an HTTP redirect on the server-side,\nUndici returns the actual response instead of an <code>opaqueredirect</code> filtered one\nwhen invoked with a <code>manual</code> redirect. This aligns <code>fetch()</code> with the other\nimplementations in Deno and Cloudflare Workers.</p>\n<p>Refs: <a href=\"https://fetch.spec.whatwg.org/#atomic-http-redirect-handling\">https://fetch.spec.whatwg.org/#atomic-http-redirect-handling</a></p>",
                  "displayName": "Manual Redirect"
                }
              ],
              "displayName": "`UrlObject`"
            },
            {
              "textRaw": "Workarounds",
              "name": "workarounds",
              "type": "module",
              "modules": [
                {
                  "textRaw": "Network address family autoselection.",
                  "name": "network_address_family_autoselection.",
                  "type": "module",
                  "desc": "<p>If you experience problem when connecting to a remote server that is resolved by your DNS servers to a IPv6 (AAAA record)\nfirst, there are chances that your local router or ISP might have problem connecting to IPv6 networks. In that case\nundici will throw an error with code <code>UND_ERR_CONNECT_TIMEOUT</code>.</p>\n<p>If the target server resolves to both a IPv6 and IPv4 (A records) address and you are using a compatible Node version\n(18.3.0 and above), you can fix the problem by providing the <code>autoSelectFamily</code> option (support by both <code>undici.request</code>\nand <code>undici.Agent</code>) which will enable the family autoselection algorithm when establishing the connection.</p>",
                  "displayName": "Network address family autoselection."
                }
              ],
              "displayName": "Workarounds"
            }
          ],
          "methods": [
            {
              "textRaw": "`undici.upgrade([url, options])`",
              "name": "upgrade",
              "type": "method",
              "signatures": [
                {
                  "params": [
                    {
                      "textRaw": "`url` {string|URL|UrlObject}",
                      "name": "url",
                      "type": "string|URL|UrlObject",
                      "optional": true
                    },
                    {
                      "textRaw": "`options` {UpgradeOptions} See `UpgradeOptions`.",
                      "name": "options",
                      "type": "UpgradeOptions",
                      "desc": "See `UpgradeOptions`.",
                      "options": [
                        {
                          "textRaw": "`dispatcher` {Dispatcher} **Default:** getGlobalDispatcher.",
                          "name": "dispatcher",
                          "type": "Dispatcher",
                          "default": "getGlobalDispatcher"
                        }
                      ],
                      "optional": true
                    }
                  ],
                  "return": {
                    "textRaw": "Returns: {Promise} A promise with the result of the `Dispatcher.upgrade` method.",
                    "name": "return",
                    "type": "Promise",
                    "desc": "A promise with the result of the `Dispatcher.upgrade` method."
                  }
                }
              ],
              "desc": "<p>Upgrade to a different protocol. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Protocol_upgrade_mechanism\">MDN - HTTP - Protocol upgrade mechanism</a> for more details.</p>\n<p>Calls <code>options.dispatcher.upgrade(options)</code>.</p>\n<p>See <a href=\"./docs/docs/api/Dispatcher.html#dispatcherupgradeoptions-callback\">Dispatcher.upgrade</a> for more details.</p>"
            },
            {
              "textRaw": "`undici.setGlobalDispatcher(dispatcher)`",
              "name": "setGlobalDispatcher",
              "type": "method",
              "signatures": [
                {
                  "params": [
                    {
                      "textRaw": "`dispatcher` {Dispatcher}",
                      "name": "dispatcher",
                      "type": "Dispatcher"
                    }
                  ]
                }
              ],
              "desc": "<p>Sets the global dispatcher used by Common API Methods. Global dispatcher is shared among compatible undici modules,\nincluding undici that is bundled internally with node.js.</p>\n<p>Undici stores this dispatcher under <code>Symbol.for('undici.globalDispatcher.2')</code>.</p>\n<p><code>setGlobalDispatcher()</code> also mirrors the configured dispatcher to\n<code>Symbol.for('undici.globalDispatcher.1')</code> using <code>Dispatcher1Wrapper</code>, so Node.js built-in <code>fetch</code>\ncan keep using the legacy handler contract while Undici uses the new handler API.</p>"
            },
            {
              "textRaw": "`undici.getGlobalDispatcher()`",
              "name": "getGlobalDispatcher",
              "type": "method",
              "signatures": [
                {
                  "params": [],
                  "return": {
                    "textRaw": "Returns: {Dispatcher}",
                    "name": "return",
                    "type": "Dispatcher"
                  }
                }
              ],
              "desc": "<p>Gets the global dispatcher used by Common API Methods.</p>"
            },
            {
              "textRaw": "`undici.setGlobalOrigin(origin)`",
              "name": "setGlobalOrigin",
              "type": "method",
              "signatures": [
                {
                  "params": [
                    {
                      "textRaw": "`origin` {string|URL|undefined}",
                      "name": "origin",
                      "type": "string|URL|undefined"
                    }
                  ]
                }
              ],
              "desc": "<p>Sets the global origin used in <code>fetch</code>.</p>\n<p>If <code>undefined</code> is passed, the global origin will be reset. This will cause <code>Response.redirect</code>, <code>new Request()</code>, and <code>fetch</code> to throw an error when a relative path is passed.</p>\n<pre><code class=\"language-js\">setGlobalOrigin('http://localhost:3000')\n\nconst response = await fetch('/api/ping')\n\nconsole.log(response.url) // http://localhost:3000/api/ping\n</code></pre>"
            },
            {
              "textRaw": "`undici.getGlobalOrigin()`",
              "name": "getGlobalOrigin",
              "type": "method",
              "signatures": [
                {
                  "params": [],
                  "return": {
                    "textRaw": "Returns: {URL}",
                    "name": "return",
                    "type": "URL"
                  }
                }
              ],
              "desc": "<p>Gets the global origin used in <code>fetch</code>.</p>"
            }
          ],
          "displayName": "Specification Compliance"
        },
        {
          "textRaw": "Collaborators",
          "name": "collaborators",
          "type": "misc",
          "desc": "<ul>\n<li><a href=\"https://github.com/dnlup\"><strong>Daniele Belardi</strong></a>, <a href=\"https://www.npmjs.com/~dnlup\">https://www.npmjs.com/~dnlup</a></li>\n<li><a href=\"https://github.com/ethan-arrowood\"><strong>Ethan Arrowood</strong></a>, <a href=\"https://www.npmjs.com/~ethan_arrowood\">https://www.npmjs.com/~ethan_arrowood</a></li>\n<li><a href=\"https://github.com/mcollina\"><strong>Matteo Collina</strong></a>, <a href=\"https://www.npmjs.com/~matteo.collina\">https://www.npmjs.com/~matteo.collina</a></li>\n<li><a href=\"https://github.com/KhafraDev\"><strong>Matthew Aitken</strong></a>, <a href=\"https://www.npmjs.com/~khaf\">https://www.npmjs.com/~khaf</a></li>\n<li><a href=\"https://github.com/ronag\"><strong>Robert Nagy</strong></a>, <a href=\"https://www.npmjs.com/~ronag\">https://www.npmjs.com/~ronag</a></li>\n<li><a href=\"https://github.com/szmarczak\"><strong>Szymon Marczak</strong></a>, <a href=\"https://www.npmjs.com/~szmarczak\">https://www.npmjs.com/~szmarczak</a></li>\n</ul>",
          "displayName": "Collaborators"
        },
        {
          "textRaw": "Past Collaborators",
          "name": "past_collaborators",
          "type": "misc",
          "desc": "<ul>\n<li><a href=\"https://github.com/delvedor\"><strong>Tomas Della Vedova</strong></a>, <a href=\"https://www.npmjs.com/~delvedor\">https://www.npmjs.com/~delvedor</a></li>\n</ul>",
          "modules": [
            {
              "textRaw": "Releasers",
              "name": "releasers",
              "type": "module",
              "desc": "<ul>\n<li><a href=\"https://github.com/ethan-arrowood\"><strong>Ethan Arrowood</strong></a>, <a href=\"https://www.npmjs.com/~ethan_arrowood\">https://www.npmjs.com/~ethan_arrowood</a></li>\n<li><a href=\"https://github.com/mcollina\"><strong>Matteo Collina</strong></a>, <a href=\"https://www.npmjs.com/~matteo.collina\">https://www.npmjs.com/~matteo.collina</a></li>\n<li><a href=\"https://github.com/ronag\"><strong>Robert Nagy</strong></a>, <a href=\"https://www.npmjs.com/~ronag\">https://www.npmjs.com/~ronag</a></li>\n<li><a href=\"https://github.com/KhafraDev\"><strong>Matthew Aitken</strong></a>, <a href=\"https://www.npmjs.com/~khaf\">https://www.npmjs.com/~khaf</a></li>\n</ul>",
              "displayName": "Releasers"
            }
          ],
          "displayName": "Past Collaborators"
        },
        {
          "textRaw": "Long Term Support",
          "name": "long_term_support",
          "type": "misc",
          "desc": "<p>Undici aligns with the Node.js LTS schedule. The following table shows the supported versions:</p>\n<table>\n<thead>\n<tr>\n<th>Undici Version</th>\n<th>Bundled in Node.js</th>\n<th>Node.js Versions Supported</th>\n<th>End of Life</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>5.x</td>\n<td>18.x</td>\n<td>≥14.0 (tested: 14, 16, 18)</td>\n<td>2024-04-30</td>\n</tr>\n<tr>\n<td>6.x</td>\n<td>20.x, 22.x</td>\n<td>≥18.17 (tested: 18, 20, 21, 22)</td>\n<td>2027-04-30</td>\n</tr>\n<tr>\n<td>7.x</td>\n<td>24.x</td>\n<td>≥20.18.1 (tested: 20, 22, 24)</td>\n<td>2028-04-30</td>\n</tr>\n<tr>\n<td>8.x</td>\n<td>26.x</td>\n<td>≥22.19.0 (tested: 22, 24, 26)</td>\n<td>2029-04-30</td>\n</tr>\n</tbody>\n</table>",
          "displayName": "Long Term Support"
        },
        {
          "textRaw": "License",
          "name": "license",
          "type": "misc",
          "desc": "<p>MIT</p>",
          "displayName": "License"
        }
      ]
    }
  ]
}