# dcurl

> Distributed curl system

Latest version **0.1.1** (published 2015-12-19) · MIT license · 0 weekly downloads

## Install

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

Provides the commands `dcurl-broker`, `dcurl-server`, `dcurl-worker`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2015-12-19 |
| First published | 2015-12-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Known vulnerabilities | 0 (+7 in 2 direct dependencies) |
| Install scripts | no |
| Author | Steven Enten |
| Maintainers | enten |

## Links

- npm: https://www.npmjs.com/package/dcurl
- npm.io page: https://npm.io/package/dcurl

## Dependencies (8)

- [q](https://npm.io/package/q.md) ^1.4.1
- [chalk](https://npm.io/package/chalk.md) ^1.1.1
- [debug](https://npm.io/package/debug.md) ^2.2.0
- [lodash](https://npm.io/package/lodash.md) ^3.10.1
- [pigato](https://npm.io/package/pigato.md) 0.0.43
- [request](https://npm.io/package/request.md) ^2.67.0
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [object-hash](https://npm.io/package/object-hash.md) ^0.9.3

## Recent versions

- 0.1.1 (latest) — 2015-12-19
- 0.1.0 — 2015-12-19

## README

# dcurl

> Distributed curl system

## Install

```
npm install dcurl --save
```

## Usage

### Server

#### Launch broker

```
DEBUG=* ./bin/dcurl-broker.js 127.0.0.1:55555
```

#### Launch worker

```
DEBUG=* ./bin/dcurl-worker.js 127.0.0.1:55555
```

#### Launch server (broker and worker)

```
DEBUG=* ./bin/dcurl-server.js 127.0.0.1:55555
```

#### Scripts

```javascript
"scripts": {
  "start:broker": "DEBUG=* dcurl-broker 127.0.0.1:5555",
  "start:server": "DEBUG=* dcurl-server 127.0.0.1:5555",
  "start:worker": "DEBUG=* dcurl-worker 127.0.0.1:5555",
}
```

### Client

#### Run distributed request

```javascript
var request = require('dcurl')('127.0.0.1:5555');

request('http://google.com', console.log);
```

## License

MIT

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