mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-21 21:02:10 +01:00
Added example
This commit is contained in:
parent
1b6202c0b9
commit
8a4b682996
1 changed files with 12 additions and 0 deletions
12
example/index.js
Normal file
12
example/index.js
Normal 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);
|
||||||
|
});
|
Loading…
Reference in a new issue