Function gravatarIconUrl

  • Generates a Gravatar icon URL for the given email address.

    Parameters

    • email: string

      The email address to generate the Gravatar icon URL for.

    Returns string

    The Gravatar icon URL.

    Example

    const email = 'user@example.com';
    const gravatarUrl = gravatarIconUrl(email);
    console.log(gravatarUrl); // Gravatar icon URL

Generated using TypeDoc