{"library":"fetch-to-curl","type":"library","category":null,"description":"fetch-to-curl is a JavaScript/TypeScript utility library that generates `curl` commands from standard Web Fetch API inputs, including URLs, `Request` objects, and `RequestInit` options. Currently at version 0.6.0, it aims for simplicity and minimalism with zero external dependencies. Unlike libraries that patch the global `fetch` object, fetch-to-curl operates as a standalone wrapper, ensuring no side effects on your application's actual network requests. Releases are made periodically to address bug fixes and add minor enhancements, as seen with recent updates supporting URL objects and improving escaping. It is differentiated by its lightweight nature and its direct translation approach, making it ideal for debugging HTTP requests in development environments without modifying the runtime behavior of the application.","language":"javascript","status":"active","version":"0.6.0","tags":["javascript","curl","fetch","http","request-http","debug","react-native","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fetch-to-curl","imports":["import { fetchToCurl } from 'fetch-to-curl';","const { fetchToCurl } = require('fetch-to-curl');","import type { FetchToCurlOptions } from 'fetch-to-curl';"]},{"cmd":"yarn add fetch-to-curl","imports":[]},{"cmd":"pnpm add fetch-to-curl","imports":[]}],"homepage":null,"github":"https://github.com/leoek/fetch-to-curl","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fetch-to-curl","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/fetch-to-curl/compatibility"}}