@italia-tools/faker
Version:
Italian-specific fake data generator based on Faker.js
13 lines (12 loc) • 454 B
TypeScript
import type { ItalianPerson } from "../types/person";
export declare class FiscalCodeGenerator {
private static MONTH_CODES;
private static ODD_CHARS;
private static EVEN_CHARS;
private static REMAINDER_CHARS;
static generate(person: Omit<ItalianPerson, 'fiscalCode'>): string;
private static processSurname;
private static processName;
private static processDate;
static calculateControlChar(code: string): string;
}