wtorrent-transmission

Wrapper for Transmission (torrent server).

Usage no npm install needed!

<script type="module">
  import wtorrentTransmission from 'https://cdn.skypack.dev/wtorrent-transmission';
</script>

README

wTorrent - Transmission

Wrapper for Transmission (torrent server).

This package is used for wrap generic methods for wTorrent

If you want complete wrapper for Transmission, use https://www.npmjs.com/package/transmission

Usage

const wTransmission = require('wtorrent-transmission');

const client = wTransmission({
  host: '127.0.0.1', // required
  port: 9091, // optional, default 9091
  endpoint: '/transmission/rpc', // optional, default /transmission/rpc
  user: 'admin', // optional, default null
  password: 'admin', // optional, default null
});

const torrents = await client.get();
const torrent = await client.getOne('TORRENT_HASH');