Narcoleptic Pasta Manufacturer

npm

Need private packages and team management tools?Check out npm Orgs. »

gravatar2

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

2

version

0.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability