Version 1.3.5. Dev-only debugging module that logs all axios requests as cURL commands to the console. Works in Node.js without ES6 imports, unlike the original axios-curlirize. Uses axios interceptors internally; no production dependencies. No active releases for 2+ years; maintainer recommends testing for current axios versions.
npm install axios-to-curlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes the interceptor on axios and logs curl commands for all requests. Includes custom logger example.
Pin axios to <1.0.0 or test thoroughly with your version.
Consider alternatives like axios-curlirize (original) or log-axios-request.
Initialize curlirize only once per axios instance.
Use default require: const curlirize = require('axios-to-curl').Remove curlirize() call in production code or disable via environment condition.
Use default import: `import curlirize from 'axios-to-curl'` or `const curlirize = require('axios-to-curl')`Run `npm install axios-to-curl` and verify the package name in package.json.
Ensure `axios` is required/imported correctly before passing to curlirize().
No dependency data recorded yet.