apsdehal / torrent-to-magnet

Takes a torrent file and returns it's magnet uri

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Takes a torrent file and returns it's magnet uri

License:MIT License


Languages

Language:JavaScript 100.0%