Added example

This commit is contained in:
Ionică Bizău 2015-07-13 09:34:14 +03:00
parent 1b6202c0b9
commit 8a4b682996

12
example/index.js Normal file
View file

@ -0,0 +1,12 @@
// Dependencies
var GitStats = require("../lib");
// Create the GitStats instance
var g1 = new GitStats();
// Display the ansi calendar
g1.ansiCalendar({
theme: "DARK"
}, function (err, data) {
console.log(err || data);
});