@rijk/gravatar

1.0.0ย โ€ขย Publicย โ€ขย Published

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.

Dependentsโ€‚(0)

Package Sidebar

Install

npm i @rijk/gravatar

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2.85 kB

Total Files

4

Last publish

Collaborators

  • rijk