0.0.5 • Published 9 years ago

modella-gravatar v0.0.5

Weekly downloads
16
License
-
Repository
-
Last release
9 years ago

gravatar

modella plugin for generating gravatars for node.js and browser.

Installation

In the browser (using component):

component install modella/gravatar

On the server:

npm install modella-gravatar

Example

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

0.0.5

9 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.1

11 years ago