UNPKG

@hanzo/dev

Version:

Hanzo Dev - Meta AI development CLI that manages and runs all LLMs and CLI tools

12 lines (11 loc) 253 B
// TypeScript utility functions export function formatDate(date: Date): string { return date.toISOString().split('T')[0]; } export function parseJSON<T>(json: string): T | null { try { return JSON.parse(json); } catch { return null; } }