bittorrent-sync

A simple wrapper for the BitTorrent Sync API

Usage no npm install needed!

<script type="module">
  import bittorrentSync from 'https://cdn.skypack.dev/bittorrent-sync';
</script>

README

Node BitTorrent Sync

A simple wrapper for the BitTorrent Sync API.

Installation

$ npm install bittorrent-sync

Usage

var BTSync = require('bittorrent-sync');

var btsync = new BTSync({
    host: 'localhost',
    port: 8888
});

btsync.getFolders(function(err, data) {
  if (err) throw err;
  console.log(data);
});

API documentation can be found on the BitTorrent Sync Website

License

Node BitTorrent Sync is licensed under the MIT License.