Use window.ipfs in case of IPFS companion extension present
Apparently if the IPFS companion browser extension is installed, a window.ipfs
object is available, and thus js-ipfs
is not necessary.
Apparently if the IPFS companion browser extension is installed, a window.ipfs
object is available, and thus js-ipfs
is not necessary.