Skip to content

πŸ™†πŸΌβ€β™‚οΈ Mini util library that converts an email address to a Gravatar link

License

Notifications You must be signed in to change notification settings

rijkvanzanten/gravatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

gravatar

πŸ™†πŸΌβ€β™‚οΈ Mini util library that converts an email address to a Gravatar link

Installation

$ npm install @rijk/gravatar

Usage

const gravatar = require("@rijk/gravatar");

gravatar("rijkvanzanten@me.com");
// => "https://gravatar.com/avatar/1f2c258f5488c3e5477627b1fd32011f?s=200"

You can pass the following options:

option default
size 200
default identicon
rating g
forcedefault n

See the Gravatar docs for more information.

About

πŸ™†πŸΌβ€β™‚οΈ Mini util library that converts an email address to a Gravatar link

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published