Получите Gravatar JavaScript

//--------------------------------------------------------
// Get Gravatar Image from Email
// npm install crypto-js
//--------------------------------------------------------
import md5 from 'crypto-js/md5';

const email  = "youremail@gmail.com";
const URL    = 'http://www.gravatar.com/avatar/';
const imgSrc = URL + md5(email).toString() + '.jpg?s=256';
//--------------------------------------------------------
KostasX