🖼
Gravatar
is a node library to generate gravatar image url.
Via npm :
$ npm i @xn-02f/gravatar
const gravatar = require('@xn-02f/gravatar');
// import gravatar from '@xn-02f/gravatar'
const email = '[email protected]';
const options = {size: '80', default: '404'};
gravatar(email, options);
Parameter | Description |
---|---|
string The gravatar email url. |
|
options | object Query string options. Like: size , default , rating , forcedefault and others. |
© 2024  |  xn-02f