visualise-elastic-profile
Version:
Visualise results from Profile API of ElasticSearch on the command line
10 lines (9 loc) • 320 B
TypeScript
/**
* @param profileData JSON of the profilin data, checked against a runtype
* @param options configuring the resulting string
* @returns stringified represenentation of the profile
*/
export declare const stringifyProfile: (profileData: unknown, options?: {
maxWidth: number;
color: boolean;
}) => string;