Skip to content
Browse files

Release 0.0.2

  • Loading branch information...
1 parent 1acb214 commit 8601c410165ae985303beb22720ff3d32c824ab2 @eldargab committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 example.js
  2. +1 −1 package.json
View
2 example.js
@@ -12,7 +12,7 @@ data.forEach(function (product) {
t.cell('Product Id', product.id);
t.cell('Description', product.desc);
t.cell('Price, USD', product.price, function pricePrinter (price, width) {
- return Table.padLeft(price.toFixed(2));
+ return Table.padLeft(price.toFixed(2), width);
});
t.newLine();
});
View
2 package.json
@@ -3,7 +3,7 @@
"name": "easy-table",
"description": "Nice text table for the CLI",
"keywords": ["table", "text", "cli"],
- "version": "0.0.1",
+ "version": "0.0.2",
"repository": {
"type": "git",
"url": "https://eldargab@github.com/eldargab/easy-table.git"

0 comments on commit 8601c41

Please sign in to comment.
Something went wrong with that request. Please try again.