// or connect with multiaddr
var cluster = ipfsCluster('/ip4/127.0.0.1/tcp/9094')
// or using options
var cluster = ipfsCluster({ host: 'localhost', port: '9094', protocol: 'http' })
// or specifying a specific API path
var cluster = ipfsCluster({ host: '1.1.1.1', port: '80', 'api-path': '/some/api/path' })
The lib throws an error while importing using the above 3 methods.
The lib throws an error while importing using the above 3 methods.