UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

23 lines • 562 B
/** * Shared CLI formatting utilities * * Common formatting functions used across CLI command modules. */ /** * Format a table row with padding */ export function formatRow(label, value, width = 30) { const paddedLabel = label.padEnd(width); return `${paddedLabel} ${value}`; } /** * Format currency value */ export function formatCost(cost, currency = "USD") { return new Intl.NumberFormat("en-US", { style: "currency", currency, minimumFractionDigits: 4, }).format(cost); } //# sourceMappingURL=formatters.js.map