Author: | alexanderbazo |
---|---|
Views Total: | 4,398 views |
Official Page: | Go to website |
Last Update: | March 5, 2019 |
License: | MIT |
Preview:

Description:
Animal Avatars is a JavaScript avatar generator that helps you randomly generates random profile images and user names using Adorable Avatars API.
How to use it:
Import the Animal Avatars library into the document.
<script src="animal-avatars.js" defer></script>
Create a random avatar with a unique name.
var myAvatar = new AnimalAvatars.Avatar()
Get the generated profile name.
let userName = myAvatar.getAvatarName();
Get the generated profile image.
let profileImage = myAvatar.getAvatarUrl();