rtorrent-fast-resume
Adds rtorrent resume metadata to torrent files
Last updated 2 years ago by genial .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rtorrent-fast-resume 
SYNC missed versions from official npm registry.

node-rtorrent-fast-resume

Module for adding rtorrent resume metadata to torrent files.

Installation

npm install -g rtorrent-fast-resume

Usage

CLI

rtorrent-fast-resume [base-directory] < plain.torrent > with_fast_resume.torrent
rtorrent-fast-resume [base-directory] plain.torrent [with_fast_resume.torrent]

Node

const fs = require('fs');
const fastResume = require('rtorrent-fast-resume');

const dataPath = '/path/to/data';
const torrent = fs.readFileSync('/path/to/input.torrent');

fastResume(torrent, dataPath).then((torrentWithFastResume) => {
    fs.writeFileSync('/path/to/output.torrent', torrentWithFastResume);
});

License

MIT

Current Tags

  • 1.1.0                                ...           latest (2 years ago)

2 Versions

  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |