Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions content/tutorials/getting-started/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ Working with js-libp2p requires [node.js](https://nodejs.org) >= v16 for develop

We recommend using the latest stable version of node, but anything fairly recent should work fine. If you want to see how low you can go, the current version requirements can always be found at the [js-libp2p project page](https://github.com/libp2p/js-libp2p).

This tutorial uses the following js-libp2p package versions:
```
"@chainsafe/libp2p-noise": "^8.0.1",
"@libp2p/mplex": "^5.1.0",
"@libp2p/tcp": "^3.0.4",
"@libp2p/websockets": "^3.0.2",
"libp2p": "^0.38.0",
"multiaddr": "^10.0.1"
```

> Modify your js-libp2p packages if you start to experience issues to those mentioned above.

## Create an empty project

We need a place to put our work, so open a terminal to make a new directory for your project somewhere and set it up as an npm project:
Expand Down