Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

torrent-to-pixeldrain

gehirudm86ISC0.2.6TypeScript support: included

Allows you to download a torrent and upload it to pixeldrain.com

pixeldrain, torrent

readme

Torrent to Pixeldrain

This is a simple package that you can use to download and upload the files of a torrent into Pixeldrain.

This is for Educational Purpose.

What's Pixeldrain?

It's a file sharing site.

  • Provides 20GB daily transfer limit for free accounts
  • Fast transfer speeds

Installation

$ npm install torrent-to-pixeldrain

Usage

import { TorrentToPixeldrain, FileWriter, TorrentBuilder } from "torrent-to-pixeldrain";

let builder = new TorrentBuilder()
            .setType("single file")
            .setInput("./tests/resources/torrent/single-torrent.torrent")
            .setOutput("./tests/downloads")

let writer = new FileWriter("./tests/logs/test-log.txt")

let client = new TorrentToPixeldrain(builder, "your-api-key", writer)

client.start()