diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | index.js | 2 |
2 files changed, 2 insertions, 4 deletions
@@ -9,12 +9,10 @@ ### Streaming torrent client for node & the browser - **WebTorrent** is a streaming torrent client for **node.js** and the **browser**. YEP, THAT'S RIGHT. THE BROWSER. It's written completely in JavaScript – the language of the web – so the same code works in both runtimes. - In node, this module is a simple torrent client, using TCP and UDP to talk to normal torrent clients. Soon, it will gain the ability to swarm with web peers, making it the first "hybrid" client. @@ -298,7 +296,7 @@ Start seeding a new torrent. - W3C [FileList](https://developer.mozilla.org/en-US/docs/Web/API/FileList) object (basically an array of `File` objects) - Node [Buffer](http://nodejs.org/api/buffer.html) object (works in [the browser](https://www.npmjs.org/package/buffer)) -Or, an **array of `File` or `Buffer` objects**. +Or, an **array of `string`, `File`, or `Buffer` objects**. If `opts` is specified, it should contain the following types of options: @@ -182,7 +182,7 @@ WebTorrent.prototype.download = function (torrentId, opts, ontorrent) { /** * Start seeding a new file/folder. - * @param {string|File|FileList|Buffer|Array.<File|Buffer>} input + * @param {string|File|FileList|Buffer|Array.<string|File|Buffer>} input * @param {Object} opts * @param {function} onseed */ |