@eleven-am/faker
    Preparing search index...

    Interface NameOptions

    interface NameOptions {
        gender?: "male" | "female" | "any";
        locale?: string;
        withMiddle?: boolean;
        withPrefix?: boolean;
        withSuffix?: boolean;
    }
    Index

    Properties

    gender?: "male" | "female" | "any"

    Specify gender ('male', 'female') or 'any' for random. Defaults to 'any'.

    locale?: string

    Target locale (e.g., 'en-US', 'fr-FR'). Defaults to context locale or 'en-US'.

    withMiddle?: boolean

    Include a random middle initial. Defaults to false.

    withPrefix?: boolean

    Include a common prefix (e.g., Mr., Ms.). Not yet implemented with locale data.

    withSuffix?: boolean

    Include a common suffix (e.g., Jr., PhD). Not yet implemented with locale data.