Added example

This commit is contained in:
Ionică Bizău 2015-07-13 09:34:14 +03:00
parent 1b6202c0b9
commit 8a4b682996
1 changed files with 12 additions and 0 deletions

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);
});