torrent-to-pixeldrain
Version:
Allows you to download a torrent and upload it to pixeldrain.com
9 lines (8 loc) • 342 B
TypeScript
import WebTorrent = require('webtorrent');
import { DownloadedTorrent } from '../interfaces/downloadedtorrent';
export declare class TorrentDownloaderService {
torrentClient: WebTorrent.Instance;
verbose: boolean;
constructor(verbose?: boolean);
download(pathToTorrent: string, outPath: string): Promise<DownloadedTorrent>;
}