![]() WebTorrent works great with browserify, an npm package that lets There are more examples in docs/get-started.md. Import dragDrop from 'drag-drop' import WebTorrent from 'webtorrent' const client = new WebTorrent ( ) // When user drops files on the browser, create a new torrent and start seeding it! dragDrop ( 'body', files => ) To install WebTorrent for use in node or the browser with import WebTorrent from 'webtorrent', run: ![]()
0 Comments
Leave a Reply. |