# node-tor-control

> A node library to communicate with tor-control

Latest version **0.0.2** (published 2017-03-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install node-tor-control
pnpm add node-tor-control
yarn add node-tor-control
bun add node-tor-control
```

## 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.0.2 |
| Published | 2017-03-24 |
| First published | 2017-03-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Aleh Atsman |
| Maintainers | astma |
| Keywords | tor, tor-control, tcp |

## Links

- npm: https://www.npmjs.com/package/node-tor-control
- Repository: https://github.com/atsman/node-tor-control
- Homepage: https://github.com/atsman/node-tor-control#readme
- Issues: https://github.com/atsman/node-tor-control/issues
- npm.io page: https://npm.io/package/node-tor-control

## Dependencies (2)

- [debug](https://npm.io/package/debug.md) ^2.6.3
- [lodash](https://npm.io/package/lodash.md) ^4.17.4

## Alternatives

- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads

## Recent versions

- 0.0.2 (latest) — 2017-03-24
- 0.0.1 — 2017-03-20

## README

[![Build Status](https://travis-ci.org/Atsman/node-tor-control.svg?branch=master)](https://travis-ci.org/Atsman/node-tor-control)

# node-tor-control
A node library to communicate with tor-control

*For basic information about tor-control please read the
[specs](https://gitweb.torproject.org/torspec.git/tree/control-spec.txt)*

## How to use

```bash
npm install node-tor-control --save
```

```js
const { connect, disconnect, tor } = require('node-tor-control');

const connection = await connect({ password: 'password' });

const status = await tor.signalNewNYM(connection);

console.log(status.code); // -> 250
console.log(status.text); // -> OK

```

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