@alithanar/react-automation-profiler
Version:
Automated React profiling and data visualization using React's Profiler API, Puppeteer, and D3.
13 lines (12 loc) • 394 B
TypeScript
declare const enum MessageTypes {
AUTOMATION_START = "AUTOMATION_START",
AUTOMATION_STOP = "AUTOMATION_STOP",
ERROR = "ERROR",
NOTICE = "NOTICE"
}
declare function getFileName(label?: string, extension?: string): string;
declare function printMessage(messageType: string, params?: {
e?: Error;
log?: string;
}): void;
export { getFileName, MessageTypes, printMessage };