Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ipfs

Index

Type aliases

AddResult: { cid: CID; isFile: boolean; size: number }

Type declaration

  • cid: CID
  • isFile: boolean
  • size: number
Codec: string
FileContent: Record<string, unknown> | FileContentRaw | Blob | string | number | boolean
FileContentRaw: Uint8Array

Variables

DAG_NODE_DATA: Uint8Array = ...

Functions

  • add(content: ImportCandidate): Promise<AddResult>
  • attemptPin(cid: CID): Promise<void>
  • cat(cid: CID): Promise<string>
  • catBuf(cid: CID): Promise<Uint8Array>
  • catRaw(cid: CID): Promise<Uint8Array[]>
  • dagGet(cid: CID): Promise<PBNode>
  • dagPutLinks(links: PBLink[]): Promise<AddResult>
  • get(): Promise<IPFS<{}>>
  • iframe(): Promise<MessagePort>
  • ls(cid: CID): Promise<IPFSEntry[]>
  • set(userIpfs: unknown): void
  • size(cid: CID): Promise<number>

Generated using TypeDoc