var WebTorrent = require('webtorrent'); var sha = require('simple-sha1') var client = new WebTorrent() var Buffer = require('safe-buffer').Buffer