UNPKG

cost-claude

Version:

Claude Code cost monitoring, analytics, and optimization toolkit

15 lines 1.03 kB
export declare function formatNumber(num: number): string; export declare function formatCompactNumber(num: number): string; export declare function formatDuration(ms: number): string; export declare function formatPercentage(value: number, good?: boolean): string; export declare function formatCostColored(cost: number): string; export declare function formatCostAdaptive(cost: number): string; export declare function formatCost(cost: number): string; export declare function shortenProjectName(projectName: string, maxLength?: number): string; export declare function formatTimestamp(timestamp: string | Date): string; export declare function formatDate(date: Date): string; export declare function createProgressBar(current: number, total: number, width?: number): string; export declare function truncate(text: string, maxLength: number): string; export declare function createSeparator(length: number, char?: string): string; export declare function formatCurrency(amount: number): string; //# sourceMappingURL=format.d.ts.map