1.0.0-rc.3 • Published 3 years ago

@porla/libtorrent v1.0.0-rc.3

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

Node.js bindings for Rasterbar-libtorrent

This library provides (mostly) complete bindings against Rasterbar-libtorrent compiled with SSL support. It tries to map one-to-one against the Rastebar- libtorrent API.

Getting started

const lt = require("@porla/libtorrent");

const params = new lt.AddTorrentParams();
params.save_path = ".";
params.ti = new lt.TorrentInfo("/path/to/torrent");

const session = new lt.Session();
session.add_torrent(params);
session.on("add_torrent", () => console.log("Torrent added"));
session.on("state_update", () => console.log("State updated"));

setInterval(() => s.post_torrent_updates(), 1000);

Building

vcpkg is used for native dependency management. You need CMake and a proper C++ toolchain.

Running yarn should build everything.

1.0.0-rc.3

3 years ago

1.0.0-rc.2

3 years ago

1.0.0-rc.1

3 years ago

0.24.0

6 years ago

0.23.0

6 years ago

0.22.0

7 years ago

0.21.0

7 years ago

0.20.0

7 years ago

0.19.0

7 years ago

0.18.0

7 years ago

0.17.0

7 years ago

0.16.0

7 years ago

0.15.0

7 years ago

0.14.0

7 years ago

0.13.0

7 years ago

0.12.0

7 years ago

0.11.0

7 years ago

0.10.0

7 years ago

0.9.0

7 years ago

0.8.0

7 years ago

0.6.0

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago