fetch-to-curl-ts

JSON →
library 1.0.2 ·javascript
verified Jun 7, 2026

Convert fetch HTTP request parameters to a cURL command string. Stable v1.0.2 (last release unknown) with TypeScript type definitions included. A fork of leoek/fetch-to-curl with enhanced TypeScript support and improved payload serialization (handles FormData, JSON, text, etc.). Differentiators: type-safe, streams handling, and supports React Native. Dependency on @types/node only for Node.js usage.