Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 760 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 760 Bytes

a-avataaar

A web component for showing an avatar based on a string (name, email, whatever you want)

Usage example

Using CDN

<script type="module" src="https://unpkg.com/a-avataaar/a-avataaar.js?module">	
<a-avataaar identifier="john.doe@example.com"></a-avataaar>

johndoe

In an npm project

npm install --save a-avataaar
<a-avataaar identifier="John Doe"></a-avataaar>

John Doe

For developers, not users, of this project

Building and running the project

npm install -g polymer-cli
npm install
polymer serve