curl-to-fetch
JSON →Library to parse curl command strings and generate equivalent fetch() API code. Stable version 1.2.1. Low maintenance, limited updates. Differentiator: lightweight alternative to curlconverter with support for common curl flags via parse-curl.js. Outputs fetch() with .then(console.log, console.error) chained. Limited to GET requests and cookie headers; does not support full HTTP method/payload translation.
Resources
packagecurl-to-fetch ↗