npm install xcurlA curl clone in Node.
Install globally using npm install -g xcurl or invoke using npx as shown below.
``
npx xcurl --help
Usage: xcurl [options...]
-d, --data HTTP POST data
--data-ascii HTTP POST ASCII data
--data-binary HTTP POST binary data
--data-raw HTTP POST data, '@' allowed
-f, --fail Fail silently (no output at all) on HTTP errors
-H, --header
-h, --help Get help for commands
-i, --include Include protocol response headers in the output
-L, --location Follow redirects
-o, --output
-J, --remote-header-name Use the header-provided filename
-O, --remote-name Write output to a file named as the remote file
-X, --request
-S, --show-error Show error even when -s is used
-s, --silent Silent mode
--url
-u, --user
-A, --user-agent
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
``