use-ipfs
v1.1.1
Published
lazy way for create or connect ipfs
Downloads
230
Readme
README.md
lazy way for create or connect ipfs
install
yarn add use-ipfs ipfs ipfsd-ctl ipfs-http-client
import useIPFS from 'use-ipfs';
useIPFS()
.then(async (value) => {
console.log(await value.ipfs.id())
return value.stop();
})
;