You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/API.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -85,17 +85,17 @@ Creates an instance of Libp2p.
85
85
| Name | Type | Description |
86
86
|------|------|-------------|
87
87
| options |`object`| libp2p options |
88
-
| options.modules |[`Array<object>`](./CONFIGURATION.md#modules)| libp2p modules to use |
88
+
| options.modules |[`Array<object>`](./CONFIGURATION.md#modules)| libp2p [modules](./CONFIGURATION.md#modules) to use |
89
89
|[options.addresses]|`{ listen: Array<string>, announce: Array<string>, noAnnounce: Array<string> }`| Addresses for transport listening and to advertise to the network |
90
90
|[options.config]|`object`| libp2p modules configuration and core configuration |
|[options.transportManager]|[`object`](./CONFIGURATION.md#configuring-transport-manager)| libp2p transport manager [configuration]((./CONFIGURATION.md#configuring-transport-manager))|
93
93
|[options.datastore]|`object`| must implement [ipfs/interface-datastore](https://github.com/ipfs/interface-datastore) (in memory datastore will be used if not provided) |
0 commit comments