/torrent-to-magnet

Takes a torrent file and returns it's magnet uri

Primary LanguageJavaScriptMIT LicenseMIT

torrent-to-magnet Build Status

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