chertoperter
Version:
Fake data generator for Persian developers
14 lines • 590 B
TypeScript
import { I_NAME_MODULE_CONFIG } from './types';
/**
* Generates random personal information including names, usernames, and ages.
* @param {I_NAME_MODULE_CONFIG} [config] - Optional configuration for name generation.
* @returns {Object} Personal information generation functions.
*/
export declare const person: (config?: I_NAME_MODULE_CONFIG) => {
firstName: () => string;
lastName: () => string;
fullName: () => string;
userName: (usernames?: string[], length?: number) => string;
age: (min?: number, max?: number) => number;
};
//# sourceMappingURL=index.d.ts.map