/thecatapi

Browserify module for thecatapi.com

Primary LanguageJavaScriptMIT LicenseMIT

The Cat Api

Browserify module for thecatapi.com

It will put a random cat to your document.body or target div's background image.

Usage

var thecatapi = require('thecatapi');
var cat = new thecatapi();

or

var thecatapi = require('thecatapi');
var cat = new thecatapi({target: 'catDivId'});

Example Cat

alt text