Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBruce Hopkins <behopkinsjr@gmail.com>2022-01-12 18:59:45 +0300
committerGitHub <noreply@github.com>2022-01-12 18:59:45 +0300
commit75fc0ec41d4be7c43f5822fee57d024552aed7ba (patch)
tree2450497e0c9cb0ca3261acec573da4a9ee903796 /docs
parent8429cfd1cc63f520f02c430c91c82ae5688f684f (diff)
docs: updated docs to match ES6 (#2242)
Diffstat (limited to 'docs')
-rw-r--r--docs/get-started.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/get-started.md b/docs/get-started.md
index 8a069c6..be30c44 100644
--- a/docs/get-started.md
+++ b/docs/get-started.md
@@ -109,7 +109,7 @@ client.add(magnetURI, { path: '/path/to/folder' }, function (torrent) {
**Note:** Seeding a torrent that can be downloaded by browser peers (i.e. with support for WebRTC) requires [webtorrent-hybrid](https://github.com/webtorrent/webtorrent-hybrid).
```js
-const WebTorrent = require('webtorrent-hybrid')
+import WebTorrent from 'webtorrent-hybrid'
const client = new WebTorrent()
client.seed('/seed-me.txt', function (torrent) {