max-mapper / torrent

download torrents with node from the CLI
https://www.npmjs.org/package/torrent
633 stars 78 forks source link

Fixes syntax errors and adds percent downloaded #16

Closed mgrigajtis closed 10 years ago

mgrigajtis commented 10 years ago

Fixes syntax errors that my JavaScript linter caught. But more importantly, it adds total bytes of the torrent being downloaded, and calculates percent complete.

max-mapper commented 10 years ago

not using semicolons is a style choice and isn't considered an error by me :) if you wan't to re-submit this with only the 'percent downloaded' addition i'd merge it in