9 lines
555 B
TypeScript
9 lines
555 B
TypeScript
// Barrel for the locale-aware Intl-API wrappers. All helpers are pure +
|
|
// SSR-safe (no DOM access) and accept an explicit `locale` so server code can
|
|
// render exactly what the client sees.
|
|
|
|
export { formatNumber, formatPercent, formatCompactNumber, type FormatNumberOptions } from "./number.js";
|
|
export { formatCurrency, type FormatCurrencyOptions } from "./currency.js";
|
|
export { formatDate, formatRelativeTime, type FormatDateOptions, type FormatRelativeTimeOptions } from "./date.js";
|
|
export { formatList, type FormatListOptions } from "./list.js";
|