Dot-Torrent
Library for parsing and creating torrent files.
Fast and easy to use.
Written in TypeScript.
Fully tested with 100% code coverage.
Installation
npm | yarn |
---|
npm install --save dot-torrent | yarn add dot-torrent |
Getting Started
Import library
typescript | javascript |
---|
import dotTorrent from 'dot-torrent' | const dotTorrent = require('dot-torrent') |
Parse torrent file
dotTorrent.parse('<file path>');
Create torrent file
dotTorrent.create(<data>);
Tests
npm test
License
This project is licensed under the MIT License - see the LICENSE file for details.