class IPFS
implements IPFSClient
import { IPFS } from "https://deno.land/x/ipfs@0.4.0-wip.3/mod.ts";
Constructors
new
IPFS(unnamed 0: { apiUrl?: string; headers?: HeadersInit; apiPath?: string; })Methods
add(input: BodyInit, options?: Partial<{ cidVersion: string; progress: boolean; wrapWithDirectory: boolean; silent: boolean; trickle: boolean; quiet: boolean; quieter: boolean; hashAlg: string; pin: string; onlyHash: boolean; chunker: any; rawLeaves: boolean; inline: boolean; inlineLimit: number; nocopy: boolean; }> & Options)
addFromURL(url: string, options?: Options)