Preparing search index...
The search index is not available
@deep-foundation/deeplinks
@deep-foundation/deeplinks
cyber/ipfs/node/impl/helia
default
Class default
Implements
IpfsNode
Index
Constructors
constructor
Properties
node
Type
Accessors
config
is
Started
Methods
add
cat
connect
Peer
get
Peers
info
init
ls
pin
start
stat
stop
Constructors
constructor
new default
(
)
:
default
Returns
default
Properties
Readonly
node
Type
node
Type
:
IpfsNodeType
= 'helia'
Accessors
config
get
config
(
)
:
{
gatewayUrl
:
string
;
}
Returns
{
gatewayUrl
:
string
;
}
gateway
Url
:
string
is
Started
get
isStarted
(
)
:
boolean
Returns
boolean
Methods
add
add
(
content
,
options
?
)
:
Promise
<
any
>
Parameters
content
:
string
|
File
options
:
AbortOptions
= {}
Returns
Promise
<
any
>
cat
cat
(
cid
,
options
?
)
:
AsyncIterable
<
Uint8Array
>
Parameters
cid
:
string
options
:
CatOptions
= {}
Returns
AsyncIterable
<
Uint8Array
>
connect
Peer
connect
Peer
(
address
)
:
Promise
<
boolean
>
Parameters
address
:
string
Returns
Promise
<
boolean
>
get
Peers
get
Peers
(
)
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
info
info
(
)
:
Promise
<
{
agentVersion
:
string
;
id
:
string
;
repoSize
:
number
;
}
>
Returns
Promise
<
{
agentVersion
:
string
;
id
:
string
;
repoSize
:
number
;
}
>
init
init
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
ls
ls
(
)
:
AsyncIterable
<
LsResult
>
Returns
AsyncIterable
<
LsResult
>
pin
pin
(
cid
,
options
?
)
:
Promise
<
any
>
Parameters
cid
:
string
options
:
AbortOptions
= {}
Returns
Promise
<
any
>
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stat
stat
(
cid
,
options
?
)
:
Promise
<
IpfsFileStats
>
Parameters
cid
:
string
options
:
AbortOptions
= {}
Returns
Promise
<
IpfsFileStats
>
stop
stop
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
node
Type
Accessors
config
is
Started
Methods
add
cat
connect
Peer
get
Peers
info
init
ls
pin
start
stat
stop
@deep-foundation/deeplinks
Loading...