zellige.js
Version:
A Moroccan utility library for working with CIN, phone numbers, currency, addresses, dates, and more.
29 lines (28 loc) • 769 B
TypeScript
/**
* Formatter module for various data formatting operations
* @module formatters
*/
/**
* Import CIN formatting utilities
*/
import { formatCIN, getAllCINFormats, CINFormatter, CINFormattingError } from './cin';
/**
* Collection of all formatter namespaces
*/
export declare const formatters: {
cin: {
format: typeof formatCIN;
getAllFormats: typeof getAllCINFormats;
Formatter: typeof CINFormatter;
FormattingError: typeof CINFormattingError;
};
};
/**
* Default export providing access to all formatter functions
* @default
*/
export default formatters;
/**
* Direct exports of CIN formatting functions and classes for granular imports
*/
export { formatCIN, getAllCINFormats, CINFormatter, CINFormattingError };