dwnpm
Version:
Decentralized Registry Package Manager (DRPM) helps developers publish, install, find and manage Decentralized Packages (DPKs) published to Decentralized Web Nodes (DWNs). DRPM does this by looking up a Decentralized Identifier (DID) to find its DID docum
15 lines • 425 B
TypeScript
import { Web5 } from '@web5/api';
export interface Web5Connection {
web5: Web5;
did: string;
}
export declare class DWeb5 {
static connection: Web5Connection;
static isConnected(): boolean;
static connect({ name, verbose }: {
name?: string;
verbose?: boolean;
}): Promise<Web5Connection>;
static connectSync(verbose?: boolean): Web5Connection;
}
//# sourceMappingURL=dweb5.d.ts.map