0.0.2 • Published 5 years ago

animal-avatars.js v0.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

Animal Avatars

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.

Install

To install the package, run npm install animal-avatars.js

Usage

var AnimalAvatar = require("animal-avatars.js");

// Create Avatar
let myAvatar = new AnimalAvatar();

// Name
myAvatar.getAvatarName();

// Url to Avatar image
myAvatar.getAvatarUrl();
0.0.2

5 years ago

0.0.1

5 years ago