fetch-enhanced
JSON →fetch-enhanced is a lightweight wrapper around any fetch-like function (e.g., undici, node-fetch) that adds HTTP proxy auto-discovery from environment variables, request timeout support, and accessible agent/dispatcher options. The latest version is 13.0.0, released with a Node.js >=22 requirement and undici as a peer dependency. It ships TypeScript type declarations. Key differentiators include a built-in agent cache (default size 512), explicit noProxy flag, and a dedicated TimeoutError class. It is actively maintained by silverwind.
Resources
packagefetch-enhanced ↗