- Which curl flags are understood?
- -X (method), -H (headers), -d and --data (body), -F (form), -u (basic auth), -b and -c (cookies), -L (follow redirects), --connect-timeout.
- Does it handle multipart?
- Yes — -F flags become FormData with file references or string values. You'll need to adjust file paths to match your runtime context.
- Can I generate TypeScript?
- Toggle for async/await + types. The tool infers the response shape as `any` by default; switch to `unknown` for strict TS.
- Is the fetch equivalent 100%?
- Core functionality yes. curl's niche features (NTLM auth, client certs, HTTP/3) aren't in browser fetch and are marked as TODO.