create-node-spark
Version:
CLI tool to scaffold a Node.js backend
57 lines • 2.03 kB
TypeScript
declare const colors: {
reset: string;
bright: string;
dim: string;
black: string;
red: string;
green: string;
yellow: string;
blue: string;
magenta: string;
cyan: string;
white: string;
brightRed: string;
brightGreen: string;
brightYellow: string;
brightBlue: string;
brightMagenta: string;
brightCyan: string;
brightWhite: string;
bgRed: string;
bgGreen: string;
bgYellow: string;
bgBlue: string;
bgMagenta: string;
bgCyan: string;
bgWhite: string;
};
declare function setSilentMode(silent: boolean): void;
declare const asciiArt: {
logo: string;
checkmark: string;
crossmark: string;
info: string;
warning: string;
gear: string;
package: string;
folder: string;
database: string;
fire: string;
};
declare function log(message: string): void;
declare function logBanner(): void;
declare function logSuccess(message: string, withIcon?: boolean): void;
declare function logError(message: string | Error, withIcon?: boolean): void;
declare function logWarning(message: string, withIcon?: boolean): void;
declare function logInfo(message: string, withIcon?: boolean): void;
declare function logStep(step: number, total: number, message: string): void;
declare function logSeparator(): void;
declare function logHeader(title: string): void;
declare function logProgress(message: string, icon?: string): void;
declare function logFeature(feature: string, enabled?: boolean): void;
declare function logProjectComplete(projectName: string): void;
declare function logInstalling(packageName: string): void;
declare function logCreatingFolder(folderName: string): void;
declare function logDatabaseSetup(dbType: string): void;
export { log, logBanner, logSuccess, logWarning, logError, logInfo, logStep, logSeparator, logHeader, logProgress, logFeature, logProjectComplete, logInstalling, logCreatingFolder, logDatabaseSetup, setSilentMode, asciiArt, colors };
//# sourceMappingURL=logger.d.ts.map