From ea5c96ec49b95f93c33206c82f0be48c5d5769b1 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 16 Nov 2015 23:41:50 +0100 Subject: [PATCH] updated Readme --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 69bc0a3..dae133d 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,12 @@ beautylog allows displaying data in nice tables for better overview. ```javascript var bl = require('beautylog')("os"); //for use in OS console environment -var myTable = bl.table.new("checks") +var myTable = bl.table.new("checks"); //you can specify formats to trigger things like the green and red badges myTable.push(["check 1","success"]); // adds a row the myTable myTable.push(["check 2","error"]); // adds a row the myTable myTable.push(["check 3","error"]); // adds a row the myTable myTable.print(); //prints myTable to the console ``` + +The table from the code above looks like this: +![table.png](https://mediaserve.lossless.digital/github.com/pushrocks/beautylog/table.png) \ No newline at end of file