# node-alldebrid

> Alldebrid command line tool

Latest version **1.0.0** (published 2019-02-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-alldebrid
pnpm add node-alldebrid
yarn add node-alldebrid
bun add node-alldebrid
```

Provides the command `alldebrid`.

## 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.0 |
| Published | 2019-02-14 |
| First published | 2016-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Hedi Nasr |
| Maintainers | ananasr |

## Links

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

## Dependencies (1)

- [request](https://npm.io/package/request.md) 2.88.0

## Recent versions

- 1.0.0 (latest) — 2019-02-14
- 0.2.0 — 2016-09-17
- 0.0.3 — 2016-09-16
- 0.0.2 — 2016-09-16
- 0.0.1 — 2016-09-16

## README

# node-alldebrid

[![NPM](https://nodei.co/npm/node-alldebrid.png)](https://nodei.co/npm/node-alldebrid/)

[![Build Status](https://travis-ci.com/Ananasr/node-alldebrid.svg?branch=master)](https://travis-ci.com/Ananasr/node-alldebrid)
[![Coverage Status](https://coveralls.io/repos/github/Ananasr/node-alldebrid/badge.svg?branch=master)](https://coveralls.io/github/Ananasr/node-alldebrid?branch=master)

This project provide a library and a command line interface to use Alldebrid.

## Installation

* For library using :

    ```bash
    $ npm install node-alldebrid --save
    ```

* For command line tool :

    ```bash
    $ npm install -g node-alldebrid
    ```

## Usage

* Library :

    ```javascript
    const Alldebrid = require('node-alldebrid');

    let alldebrid = new Alldebrid();

    alldebrid.connect('login', 'password')
    .then(() => {
        return alldebrid.debrid('https://mymovie.mkv');
    })
    .then(link => console.log(link));
    ```

* Command line tool :

    ```bash
    $ export ALLDEBRID_LOGIN=<login>
    $ export ALLDEBRID_PASSWORD=<password>
    $ alldebrid <url>
    ```

* Download or stream video :

    ```bash
    $ wget $(alldebrid <url>) # Download
    $ mpv $(alldebrid <url>)  # Video
    ```

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