1.0.0 ā€¢ Published 6 years ago

@rijk/gravatar v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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:

optiondefault
size200
defaultidenticon
ratingg
forcedefaultn

See the Gravatar docs for more information.