@bluelovers/ipfs-http-client
v1.1.1
Published
ipfs-http-client with auto search go-ipfs, js-ipfs
Downloads
324
Maintainers
Readme
README.md
ipfs-http-client with auto search go-ipfs, js-ipfs
install
yarn add @bluelovers/ipfs-http-client ipfs-http-client
import ipfsClient from '@bluelovers/ipfs-http-client';
// auto detect go-ipfs and js-ipfs
ipfsClient()
.then(async (ipfs) => {
console.log(await ipfs.id())
})
;