meteor-avatar-core

Get a Meteor user's avatar

Usage no npm install needed!

<script type="module">
  import meteorAvatarCore from 'https://cdn.skypack.dev/meteor-avatar-core';
</script>

README

Meteor Avatar core

Get a Meteor user's avatar.

Installation

npm install meteor-avatar-core

Methods

getUrl(user): Returns the avatar's URL

Example

import Avatar from 'meteor-avatar-core';

// let's assume the user is logged-in
var picture = Avatar.getUrl(Meteor.user());