UNPKG

nope-js-node

Version:

NoPE Runtime for Nodejs. For Browser-Support please use nope-browser

14 lines (13 loc) 490 B
export declare const CURRENT_DATE: string; export declare const DEFAULT_LOG_LOCATION: string; /** * Generates a Log-File Path based on the given name with the following format: * /logs/{name}_{date}.log * * @export * @param {string} name Name of the File. * @return {string} * @backend **Only in Nodejs available** */ export declare function generateLogfilePath(name: string): string; export declare function recordCPUProfile(pathToFile?: string): () => Promise<void>;