garfield
v1.1.2
Published
A simple Javascript wrapper to get comics from Garfield.
Downloads
8
Maintainers
Readme
garfield
Garfield is a simple Javascript wrapper made for requesting Garfield comics. It uses no API and it's very basic to use!
Download
npm install garfield --save
Usage
var garfield = require('garfield');
//Requesting a comic from specific date (values must be numbers)
garfield.request(year, month, day);
//Requesting a random comic
garfield.random();
//Requesting the latest comic
garfield.latest();
//Getting the total comic count
garfield.count;
License
Currently using the MIT license.