Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
docs: fixed wrong import name (#197)
Browse files Browse the repository at this point in the history
Changed the import name from:
```javascript
import { createLibp2pNode } from libp2p
```
to
```javascript
import { createLibp2p } from libp2p
```
  • Loading branch information
Sklyvan authored Nov 15, 2022
1 parent ef02e8d commit 281fee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $ npm i @libp2p/webrtc-direct
## Usage

```js
import { createLibp2pNode } from 'libp2p'
import { createLibp2p } from 'libp2p'
import { webRTCDirect } from '@libp2p/webrtc-direct'

const node = await createLibp2p({
Expand Down

0 comments on commit 281fee0

Please sign in to comment.