Slide 37
Slide 37 text
var WebTorrent = require('webtorrent')
var client = new WebTorrent()
client.add('magnet:...', function (torrent) {
var file = torrent.files[0]
// Display the file by adding it to the DOM.
// Supports video, audio, image files, and more!
file.appendTo('body')
})