https://github.com/apsdehal/torrent-to-magnet
Takes a torrent file and returns it's magnet uri
https://github.com/apsdehal/torrent-to-magnet
Last synced: about 1 year ago
JSON representation
Takes a torrent file and returns it's magnet uri
- Host: GitHub
- URL: https://github.com/apsdehal/torrent-to-magnet
- Owner: apsdehal
- License: mit
- Created: 2015-01-22T19:39:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-10-30T07:10:29.000Z (over 6 years ago)
- Last Synced: 2024-10-12T02:54:37.675Z (over 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 9
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# torrent-to-magnet [](https://travis-ci.org/apsdehal/torrent-to-magnet)
Generates a magnet uri from a torrent file
## Install
Install via
`npm install torrent-to-magnet`
## Usage
```js
var torrentToMagnet = require('torrent-to-magnet');
torrentToMagnet(torrentUrl, options, function (err, uri) {
// Do something with uri here
});
```
## License
MIT