0.0.5 • Published 11 years ago
modella-gravatar v0.0.5
gravatar
modella plugin for generating gravatars for node.js and browser.
Installation
In the browser (using component):
component install modella/gravatarOn the server:
npm install modella-gravatarExample
var User = model('user')
  .attr('name')
  .attr('email')
  .attr('password');
User.use(gravatar('email', 'avatar'));
var user = new User({
  name : 'matt',
  email : 'mattmuelle@gmail.com',
  password : 'test'
});
user.save(function(err) {
  console.log(user.avatar());
});License
MIT