torrent-to-magnet
Generates a magnet uri from a torrent file
Install
Install via
npm install torrent-to-magnet
Usage
var torrentToMagnet = require('torrent-to-magnet');
torrentToMagnet(torrentUrl, options, function (err, uri) {
// Do something with uri here
});
License
MIT