fetch-addons

JSON →
library 1.3.0 ·javascript
verified Jun 7, 2026

A TypeScript-first collection of utility addons for the Fetch API, including helpers to serialize a Request to a cURL command (toCurl), create Request or Headers objects from init parameters (getRequest, getHeaders), and remove empty headers (deleteEmptyHeaders). Version 1.3.0 is stable, requires Node >= 16, and ships TypeScript declarations. Unlike manual fetch wrappers, fetch-addons focuses on debugging and transforming fetch inputs/outputs without patching global fetch.