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

Commit 281fee0

Browse files
authored
docs: fixed wrong import name (#197)
Changed the import name from: ```javascript import { createLibp2pNode } from libp2p ``` to ```javascript import { createLibp2p } from libp2p ```
1 parent ef02e8d commit 281fee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ npm i @libp2p/webrtc-direct
3333
## Usage
3434

3535
```js
36-
import { createLibp2pNode } from 'libp2p'
36+
import { createLibp2p } from 'libp2p'
3737
import { webRTCDirect } from '@libp2p/webrtc-direct'
3838

3939
const node = await createLibp2p({

0 commit comments

Comments
 (0)