torrent-to-pixeldrain
v0.2.6
Published
Allows you to download a torrent and upload it to pixeldrain.com
Downloads
134
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()