Return a Helia node augmented with a libp2p instance. The passed configuration is passed to createLibp2p without adding any default config.
createLibp2p
Use this if you do not wish to have any extra config added. To use the default config, call withLibp2p from @helia/libp2p instead.
withLibp2p
@helia/libp2p
Import it from @helia/libp2p/light to avoid loading the default config.
@helia/libp2p/light
Return a Helia node augmented with a libp2p instance. The passed configuration is passed to
createLibp2pwithout adding any default config.Use this if you do not wish to have any extra config added. To use the default config, call
withLibp2pfrom@helia/libp2pinstead.Import it from
@helia/libp2p/lightto avoid loading the default config.