An open API service indexing awesome lists of open source software.

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

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());
```