# active-onions

> Filter out inactive onion URLs from an array

Latest version **1.0.3** (published 2020-03-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install active-onions
pnpm add active-onions
yarn add active-onions
bun add active-onions
```

## 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.3 |
| Published | 2020-03-19 |
| First published | 2019-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=9 |
| Dependencies | 1 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Nikolaos Kamarinakis |
| Maintainers | k4m4 |
| Keywords | onion, onions, deep-web, links |

## Links

- npm: https://www.npmjs.com/package/active-onions
- Repository: https://github.com/k4m4/active-onions
- Homepage: https://github.com/k4m4/active-onions#readme
- Issues: https://github.com/k4m4/active-onions/issues
- npm.io page: https://npm.io/package/active-onions

## Dependencies (1)

- [tor-request](https://npm.io/package/tor-request.md) ^3.1.0

## Recent versions

- 1.0.3 (latest) — 2020-03-19
- 1.0.2 — 2019-07-13
- 1.0.1 — 2019-07-13
- 1.0.0 — 2019-05-30

## README

# active-onions [![Build Status](https://travis-ci.org/k4m4/active-onions.svg?branch=master)](https://travis-ci.org/k4m4/active-onions)

> Filter out inactive onion URLs from an array.


## Install

```
~ ❯❯❯ npm install active-onions
```


## Usage

```js
const activeOnions = require('active-onions');

activeOnions(['https://abcdefghijklmnop.onion/', 'http://xmh57jrzrnw6insl.onion/', 'https://facebookcorewwwi.onion/'])
//=> ['http://xmh57jrzrnw6insl.onion/', 'https://facebookcorewwwi.onion/']
```

**Note**: *Ensure that a `Tor` client is running in the background*. You can do so by running `apt install tor` on Linux and `brew install tor && tor` on macOS.


## API

### activeOnions([array])

Filters out inactive onion URLs from an array.


## License

MIT © [Nikolaos Kamarinakis](https://nikolaskama.me)

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