Exports withLibp2pLight, which adds a libp2p node to Helia using only the
config you pass to it.
Unlike the main @helia/libp2p entry point, importing
@helia/libp2p/light does not load the default libp2p config, so none of
the default transports, services or their dependencies (including the native
node-datachannel module used by @libp2p/webrtc) are loaded.
Exports
withLibp2pLight, which adds a libp2p node to Helia using only the config you pass to it.Unlike the main
@helia/libp2pentry point, importing@helia/libp2p/lightdoes not load the default libp2p config, so none of the default transports, services or their dependencies (including the nativenode-datachannelmodule used by@libp2p/webrtc) are loaded.Example: Bring your own libp2p config