Skip to content

Commit 8a4b682

Browse files
committed
Added example
1 parent 1b6202c commit 8a4b682

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

example/index.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Dependencies
2+
var GitStats = require("../lib");
3+
4+
// Create the GitStats instance
5+
var g1 = new GitStats();
6+
7+
// Display the ansi calendar
8+
g1.ansiCalendar({
9+
theme: "DARK"
10+
}, function (err, data) {
11+
console.log(err || data);
12+
});

0 commit comments

Comments
 (0)