0.0.0 • Published 10 years ago

npm-fetch-avatar v0.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

NpmFetchAvatar NPM version Build Status Coverage Status

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
});

License

MIT