UNPKG

@nodedaemon/core

Version:

Production-ready Node.js process manager with zero external dependencies

19 lines 962 B
import { formatMemory as utilFormatMemory, formatUptime as utilFormatUptime } from '../utils/helpers'; export declare class Formatter { static formatTable(data: any[], columns: string[]): string; static formatProcessList(processes: any[]): string; static formatProcessStatus(process: any): string; static formatDaemonStatus(status: any): string; static formatLogs(logs: any[]): string; private static formatStatus; static formatSuccess(message: string): string; static formatError(message: string): string; static formatWarning(message: string): string; static formatInfo(message: string): string; static colorize(text: string, color: 'red' | 'green' | 'yellow' | 'blue' | 'cyan' | 'white'): string; static bold(text: string): string; static dim(text: string): string; static formatMemory: typeof utilFormatMemory; static formatUptime: typeof utilFormatUptime; } //# sourceMappingURL=Formatter.d.ts.map