# xcurl

> A curl clone in Node

Latest version **2.1.2** (published 2024-05-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install xcurl
pnpm add xcurl
yarn add xcurl
bun add xcurl
```

Provides the command `xcurl`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.2 |
| Published | 2024-05-27 |
| First published | 2021-11-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=18.0.0 |
| Dependencies | 0 |
| Unpacked size | 18.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Maintainers | sstur |
| Keywords | curl, cli |

## Links

- npm: https://www.npmjs.com/package/xcurl
- Repository: https://github.com/sstur/xcurl
- Issues: https://github.com/sstur/xcurl/issues
- npm.io page: https://npm.io/package/xcurl

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 2.1.2 (latest) — 2024-05-27
- 2.1.1 — 2024-05-26
- 2.1.0 — 2024-05-26
- 2.0.0 — 2024-05-26
- 1.8.3 — 2022-08-25
- 1.8.2 — 2022-08-24
- 1.8.1 — 2022-08-24
- 1.7.1 — 2022-08-13
- 1.6.0 — 2022-07-21
- 1.5.0 — 2022-07-21
- 1.4.0 — 2022-07-20
- 1.3.0 — 2022-07-20
- 1.2.0 — 2022-07-15
- 1.1.0 — 2022-07-14
- 1.0.0 — 2022-06-29
- … 2 more at https://npm.io/package/xcurl/versions

## README

# xcurl

A curl clone in Node.

## Installation

Install globally using `npm install -g xcurl` or invoke using `npx` as shown below.

## Usage

```
npx xcurl --help

Usage: xcurl [options...] <url>
 -d, --data <data>   HTTP POST data
     --data-ascii <data>  HTTP POST ASCII data
     --data-binary <data>  HTTP POST binary data
     --data-raw <data>  HTTP POST data, '@' allowed
 -f, --fail          Fail silently (no output at all) on HTTP errors
 -H, --header <header/@file>  Pass custom header(s) to server
 -h, --help          Get help for commands
 -i, --include       Include protocol response headers in the output
 -L, --location      Follow redirects
 -o, --output <file>  Write to file instead of stdout
 -J, --remote-header-name  Use the header-provided filename
 -O, --remote-name   Write output to a file named as the remote file
 -X, --request <command>  Specify request command to use
 -S, --show-error    Show error even when -s is used
 -s, --silent        Silent mode
     --url <url>     URL to work with
 -u, --user <user:password>  Server user and password
 -A, --user-agent <name>  Send User-Agent <name> to server
 -v, --verbose       Make the operation more talkative
 -V, --version       Show version number and quit
```

---
_Source: https://npm.io/package/xcurl · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
