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
26 lines • 818 B
TypeScript
type FormatOptions = {
underline?: boolean;
bold?: boolean;
};
type ColorizeFormatOptions = {
message: string;
color: string;
options: FormatOptions;
};
export declare class Formatter {
constructor();
colorizeFormat({ message, color, options }: ColorizeFormatOptions): string;
bold(message: string): string;
underline(message: string): string;
boldUnderline(message: string): string;
format(message: string, options?: FormatOptions): string;
colorize(message: string, color: string): string;
red(message: string): string;
green(message: string): string;
blue(message: string): string;
yellow(message: string): string;
gray(message: string): string;
}
declare const _default: Formatter;
export default _default;
//# sourceMappingURL=formatter.d.ts.map