0.1.1 • Published 5 years ago

torrent-downloader v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

node-torrent-downloader

A torrent downloader utility based on aria2.

API

downloader = new Downloader()

Create a new downloader instance.

downloader.open()

Start the downloader.

torrentId = await downloader.addTorrent(torrentBin, options)

Add a torrent.

torrent = await downloader.getTorrent(torrentId)

Get a torrent(refreshed).

torrent.status

The torrent status.

torrent.files

The torrent selected files.