jin-axios-curlize is a utility library for converting AxiosRequestConfig objects into curl commands, useful for debugging and reproducing HTTP requests. Version 1.3.0 (stable) targets Node >=18 and ships TypeScript types. It works without interceptors, supports customizable replacers for query strings, headers, and bodies, and can prettify output. Unlike alternatives that require executing the request, this library creates curl commands directly from the config.
npm install jin-axios-curlizeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a curl command from an AxiosRequestConfig object after making a request.
Import createV3 and encodeQuerystring from 'jin-curlize' package.
Provide complete AxiosRequestConfig with url, method, headers, data, etc.
Use current options as described in README; check for updates.
Ensure replacer functions return the modified string.
Install 'jin-curlize' and import createV3 from 'jin-curlize'.
Run 'npm install jin-axios-curlize' and ensure tsconfig.json has 'moduleResolution': 'node'.
Use named import: import { createFromAxios } from 'jin-axios-curlize'.