https://github.com/gwendall/meteor-avatar-core
Utlities to get a Meteor user's avatar
https://github.com/gwendall/meteor-avatar-core
Last synced: 2 months ago
JSON representation
Utlities to get a Meteor user's avatar
- Host: GitHub
- URL: https://github.com/gwendall/meteor-avatar-core
- Owner: gwendall
- Created: 2016-04-19T11:21:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-19T11:21:49.000Z (about 9 years ago)
- Last Synced: 2025-03-18T05:56:56.176Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.MD
Awesome Lists containing this project
README
Meteor Avatar core
==================Get a Meteor user's avatar.
Installation
------------``` sh
npm install meteor-avatar-core
```Methods
-------getUrl(user): Returns the avatar's URL
Example
-------``` javascript
import Avatar from 'meteor-avatar-core';// let's assume the user is logged-in
var picture = Avatar.getUrl(Meteor.user());
```