UNPKG

@lacussoft/cpf-gen

Version:

Utility function to generate valid CPF (Brazilian ID document).

13 lines (10 loc) 314 B
interface ActualCpfGeneratorOptions { format: boolean; prefix: string; } type CpfGeneratorOptions = Partial<ActualCpfGeneratorOptions>; /** * Generate a valid CPF (Brazilian ID document) numeric sequence. */ declare function cpfGen(options?: CpfGeneratorOptions): string; export { cpfGen as default };