git-stats/example/index.js

13 lines
234 B
JavaScript
Raw Permalink Normal View History

2015-07-13 08:34:14 +02:00
// 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);
});