A Javascript library to generate random user avatars (Similar to Google's Anonymous animals). Each avatar has a random name and a corresponding profile image, generated by the Adorable Avatars API. Use browserify to bundle it for local use.
To install the package, run npm install animal-avatars.js
var AnimalAvatar = require("animal-avatars.js");
// Create Avatar
let myAvatar = new AnimalAvatar();
// Name
myAvatar.getAvatarName();
// Url to Avatar image
myAvatar.getAvatarUrl();