gravatar2
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.1 • Public • Published

    Build Status

    Gravatar - Node.js

    Gravatar provides a clean, simple API Gravatar service.

    Contents

    Installation

    Via Bash in Terminal

    yarn add gravatar2

    Add manually in package.json

    Begin by installing gravatar2 by editing your project's package.json file. Just add

        "dependencies"{
            ...
            "gravatar2": "^0.1.1"
        }

    Usage

    Using gravatar is quite simple.

    import Gravatar from 'gravatar2';
    const gravatar = new Gravatar();
     
    gravatar.url(email);
    gravatar.url(email, options);
    gravatar.url(email, options, secured);
     
    gravatar.profile(email);
    gravatar.profile(email, options);
    gravatar.profile(email, options, secured);
     
    gravatar.isGravatar(email);

    Change log

    Please see CHANGELOG for more information what has changed recently.

    Contributing

    Please see CONTRIBUTING and CONDUCT for details.

    Security

    If you discover any security related issues, please email adetola.onasanya@gmail.com instead of using the issue tracker.

    Credits

    License

    SMS is an open-sourced package licensed under the MIT license.

    Install

    npm i gravatar2

    DownloadsWeekly Downloads

    3

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    143 kB

    Total Files

    19

    Last publish

    Collaborators

    • adetoola