How to use the webtorrent/webtorrent.debug function in webtorrent

To help you get started, we’ve selected a few webtorrent examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vinz243 / pTorrent / src / adapters / WebtorrentAdapter / Client.js View on Github external
constructor(config) {
		this._config = config || {};
		this.torrents = [];
		this._client = new WebTorrent();
		this._client.on('error', (err) => {
			console.log('[WebTorrent Error]', err)
		});
	}