array-to-html
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -10,4 +10,6 @@ "use strict"; | ||
function createFakeStyle(apply, typeFakeStyle, addStyle) { | ||
if (typeFakeStyle) | ||
if (apply) | ||
return `style="${FAKE_STYLE[typeFakeStyle]} ${addStyle || ''}"`; | ||
else if (addStyle) | ||
return `style="${addStyle}"`; | ||
else | ||
@@ -14,0 +16,0 @@ return ''; |
{ | ||
"name": "array-to-html", | ||
"description": "Convert an array of objects to a simple markdown table.", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"main": "lib/array-to-html.js", | ||
@@ -6,0 +6,0 @@ "author": "natancabral", |
@@ -47,3 +47,3 @@ # Array to Html | ||
|--------------------|------|----------------------------------| | ||
| **minify** | Boolean | Compress HTML, remove spaces and bleaks | | ||
| **minify** | Boolean | Compress HTML, remove spaces and breaks | | ||
| **fake_style** | Boolean | Insert styles | | ||
@@ -50,0 +50,0 @@ | **columns_size** | Numeric Array | Percent array [25, 25, 0, 50] | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
21549
209