From 8a4b682996abc6874ebfc37a93a4e631e54c538d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionic=C4=83=20Biz=C4=83u?= Date: Mon, 13 Jul 2015 09:34:14 +0300 Subject: [PATCH] Added example --- example/index.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 example/index.js diff --git a/example/index.js b/example/index.js new file mode 100644 index 0000000..19a4a2f --- /dev/null +++ b/example/index.js @@ -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); +});