Search
Preparing search index...
The search index is not available
EthPM.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ethpm/storage/ipfs"
IpfsConnector
Class IpfsConnector
Hierarchy
Connector
<
storage.Service
>
IpfsConnector
Index
Properties
options
Type
Methods
connect
init
Properties
options
Type
options
Type
:
InterfaceType
<
object
,
object
,
object
,
unknown
>
= t.interface({ipfs: t.interface({host: t.string,port: t.union([t.number, t.string]),protocol: t.string})})
Methods
connect
connect
(
options
:
t.mixed
)
:
Promise
<
storage.Service
>
Parameters
options:
t.mixed
Returns
Promise
<
storage.Service
>
init
init
(
options
:
object
)
:
Promise
<
IpfsService
>
Construct IpfsService and load with specified contents
Parameters
options:
object
ipfs
:
IpfsOptions
Returns
Promise
<
IpfsService
>
Globals
"ethpm"
"ethpm/config"
"ethpm/manifests"
"ethpm/manifests/v2"
"ethpm/package"
"ethpm/registries"
"ethpm/registries/web3"
"ethpm/session"
"ethpm/storage"
"ethpm/storage/ipfs"
"ethpm/types"
"test/examples"
"test/stub/manifests"
"test/stub/registries"
"test/stub/storage"
Ipfs
Connector
options
Type
connect
init
Ipfs
Service
Ipfs
Options
Ipfs
Hash
DAGNode
IPFS
Unixfs
hash
Generated using
TypeDoc
Construct IpfsService and load with specified contents