pdfkit-table
Advanced tools
Comparing version 0.1.26 to 0.1.27
13
index.js
@@ -19,9 +19,9 @@ "use strict"; | ||
if( !options || typeof options !== 'object' ) options = {}; | ||
table || (table = {}) | ||
options || (options = {}) | ||
table || (table = {}) | ||
table.headers || (table.headers = []); | ||
table.datas || (table.datas = []) | ||
table.rows || (table.rows = []) | ||
const columnCount = table.headers.length; | ||
@@ -41,5 +41,5 @@ const columnSpacing = options.columnSpacing || 5; // 15 | ||
let startX = options.x || this.page.margins.left; | ||
let startY = options.y || this.y; | ||
let rowBottomY = 0; | ||
const startX = options.x || this.page.margins.left; | ||
let startY = options.y || this.y; | ||
let rowBottomY = 0; | ||
@@ -218,2 +218,3 @@ this.on("pageAdded", () => { | ||
} | ||
// size | ||
@@ -220,0 +221,0 @@ if( text.indexOf('size') === 0 ){ |
{ | ||
"name": "pdfkit-table", | ||
"version": "0.1.26", | ||
"version": "0.1.27", | ||
"description": "PdfKit Table. Helps to draw informations in simple tables using pdfkit. #server-side. Generate pdf tables with javascript (PDFKIT plugin) ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19154