Exports a createHeliaLight function that returns a minimally configured
object that implements the Helia API.
Unlike the main helia entry point, importing helia/light does not load
@helia/libp2p or @helia/bitswap, so use it when you want a node without
libp2p (or with your own libp2p config) and the smallest possible bundle.
To add your own libp2p config without loading the default transports, pair
it with withLibp2pLight from @helia/libp2p/light.
Exports a
createHeliaLightfunction that returns a minimally configured object that implements the Helia API.Unlike the main
heliaentry point, importinghelia/lightdoes not load@helia/libp2por@helia/bitswap, so use it when you want a node without libp2p (or with your own libp2p config) and the smallest possible bundle.To add your own libp2p config without loading the default transports, pair it with
withLibp2pLightfrom@helia/libp2p/light.Example: Creating a Helia node