gravatar4node
v0.0.4
Published
Gravatar for node
Downloads
3
Readme
Gravatar4node
Node module to get gravatar info.
Getting Started
Install with this command:
npm install gravatar4node --save-dev
API
getAvatar(email, [params, https])
Return avatar url.
For more details about params
options, please see options page.
getProfile(email, [https])
Return profile json url.
Usage Examples
Basic
var gravatar = require('gravatar4node');
var img = gravatar.getAvatar('[email protected]');
With options
gravatar.getAvatar('[email protected]', {s: 100, d: 'retro'});
Demo
node demo.js
History
- Ver 0.0.3 init