torrent-downloader
v0.1.1
Published
A torrent downloader utility based on aria2.
Downloads
10
Readme
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.