This package is deprecated as of WebTorrent >= 2.3.0 as native WebRTC support has been added to WebTorrent. Please switch to using the "webtorrent" package.
In node.js, the webtorrent package only connects to normal TCP/UDP peers, not WebRTC peers. If you want to connect to all types of peers, including WebRTC peers, from node.js, you need to use this package (webtorrent-hybrid).
To install WebTorrent:
npm install webtorrent-hybridTo install a webtorrent-hybrid command line program, run:
npm install webtorrent-hybrid -gwebtorrent-hybrid has the same command line interface (CLI) and module API as
webtorrent. Just import WebTorrent from 'webtorrent-hybrid'
instead of import WebTorrent from 'webtorrent'.
See the WebTorrent docs.
MIT. Copyright (c) Feross Aboukhadijeh and WebTorrent, LLC.