@chinmayn00b/faker-ind
Version:
Generate Fake Contextual Data For India Region
35 lines • 1.14 kB
TypeScript
import type { FakerIndOpts } from './schema';
import type { Gender } from './types/gender';
import type { Language } from './types/language';
import * as randomUtils from './random';
export declare function fakerInd(opts: FakerIndOpts): {
random: {
number: typeof randomUtils.number;
boolean: typeof randomUtils.boolean;
arrayElement: typeof randomUtils.arrayElement;
objectElement: typeof randomUtils.objectElement;
alphanumeric: typeof randomUtils.alphanumeric;
hexadecimal: typeof randomUtils.hexadecimal;
};
account: {
bank: () => string | undefined;
accountNumber: (count?: number) => string;
};
phone: {
serviceProvider: () => string;
number: (intl?: boolean) => string;
};
name: {
firstName: (gender?: Gender) => string;
lastName: () => string;
prefix: () => string;
fullName: () => string;
};
lorem: {
word: () => string;
phrase: () => string;
};
setLanguage: (newLanguage: Language) => void;
};
export type { Language };
//# sourceMappingURL=index.d.ts.map