npm-fetch-avatar
v0.0.0
Published
Fetch the gravatar image url via profile page
Downloads
5
Readme
NpmFetchAvatar
Installation
$ npm install npm-fetch-avatar --save
API
npmFetchAvatar(user) -> (error,avatarUrl)
Fetch the avatar url via profile page
npmFetchAvatar('substack',function(error,avatarUrl){
if(error) throw error
console.log(avatarUrl);
// https://secure.gravatar.com/avatar/d4a2f12ceae3b7f211b661576d22bfb9?size=496&default=retro
});