* Formats bytes as a human-readable string.
(bytes: number)
| 595 | * Formats bytes as a human-readable string. |
| 596 | */ |
| 597 | function formatBytes(bytes: number): string { |
| 598 | return `${(bytes / 1024).toFixed(1)} KB`; |
| 599 | } |
| 600 | |
| 601 | export const cli = { |
| 602 | header(title: string): void { |