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
_is
Started
fs?
node?
node
Type
Accessors
config
is
Started
Methods
add
cat
connect
Peer
get
Peers
info
init
ls
map
To
Ls
Result
pin
start
stat
stop
Constructors
constructor
new default
(
)
:
default
Returns
default
Properties
Private
_is
Started
_is
Started
:
boolean
= false
Private
Optional
fs
fs
?:
UnixFS
Private
Optional
node
node
?:
Helia
<
Libp2p
<
ServiceMap
>
>
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
>
Private
map
To
Ls
Result
map
To
Ls
Result
(
iterable
)
:
AsyncIterable
<
LsResult
>
Parameters
iterable
:
AsyncIterable
<
Pin
>
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
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_is
Started
fs
node
node
Type
config
is
Started
add
cat
connect
Peer
get
Peers
info
init
ls
map
To
Ls
Result
pin
start
stat
stop
@deep-foundation/deeplinks
Loading...