# jsurl-cli

> A cURL clone written in node.js

Latest version **1.0.4** (published 2016-10-15) · (MIT OR Apache-2.0) license · 0 weekly downloads

## Install

```sh
npm install jsurl-cli
pnpm add jsurl-cli
yarn add jsurl-cli
bun add jsurl-cli
```

Provides the command `jsurl`.

## 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 | 1.0.4 |
| Published | 2016-10-15 |
| First published | 2016-09-29 |
| Weekly downloads | 0 |
| License | (MIT OR Apache-2.0) |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | AJ ONeal |
| Maintainers | coolaj86 |
| Keywords | cURL, wget, request, http, https |

## Links

- npm: https://www.npmjs.com/package/jsurl-cli
- Repository: https://github.com/coolaj86/jsurl
- Homepage: https://github.com/coolaj86/jsurl#readme
- Issues: https://github.com/coolaj86/jsurl/issues
- npm.io page: https://npm.io/package/jsurl-cli

## Dependencies (1)

- [commander](https://npm.io/package/commander.md) ^2.9.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2016-10-15
- 1.0.3 — 2016-10-15
- 1.0.2 — 2016-10-15
- 1.0.1 — 2016-09-30
- 1.0.0 — 2016-09-29

## README

jsURL
=====

A cURL clone written in node.js

```bash
npm install -g jsurl-cli
```

```bash
jsurl https://www.google.com/foo.txt
```

Supported Options
-----------------

```
Usage: jsurl [options...] <url>

Options: (H) means HTTP/HTTPS only, (F) means FTP only

  -h, --help           output usage information
  -V, --version        output the version number

  -4 --ipv4            Resolve name to IPv4 address
  -6 --ipv6            Resolve name to IPv6 address
  -k --insecure        Allow connections to SSL sites without certs (H)
  -X --request METHOD  Specify request method to use (GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD, etc)
  -H --header LINE     Pass custom header LINE to server (H)
  -o --output FILE     Write to FILE instead of stdout
  -O --remote-name     Write output to a file named as the remote file
  -v --verbose         Make the operation more talkative
```

What about all the other options?
------------------

Add one, pull request it, and I'll merge it in!

Otherwise I'll just add them here and there as I begin to use jsURL in place of cURL and find that I need them.

Why?
----

`curl` on OS X doesn't send `servername` via `sni` when `-k` (`--insecure`) is used
so I started copying over functionality that I use.

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