Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 493 Bytes

README.md

File metadata and controls

29 lines (15 loc) · 493 Bytes

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.