npm-pd
Version:
A beautiful CLI dashboard for NPM publishers
11 lines (10 loc) • 396 B
TypeScript
declare type Claim = "author" | "maintainer";
export declare type PublisherOptions = {
sort?: SortBy;
reverse?: boolean;
org?: string;
limit?: number;
};
declare type SortBy = "name" | "version" | "date" | "quality" | "popularity" | "maintenance" | "score";
export declare function formatPublisher(name: string, claim: Claim, options: PublisherOptions): Promise<void>;
export {};