Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pdfkit-table

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdfkit-table - npm Package Compare versions

Comparing version 0.1.36 to 0.1.37

9

index.js

@@ -7,4 +7,4 @@ "use strict";

constructor(options) {
super(options);
constructor(option) {
super(option);
}

@@ -88,2 +88,6 @@

// add a new page before crate table
options.addPage && this.addPage( option );
// create title and subtitle
createTitle( title, 12, 1 );

@@ -97,2 +101,3 @@ createTitle( subtitle, 9, 0.7 );

// add fire
this.on("pageAdded", () => {

@@ -99,0 +104,0 @@ startY = this.page.margins.top;

{
"name": "pdfkit-table",
"version": "0.1.36",
"version": "0.1.37",
"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",

@@ -256,2 +256,3 @@ # pdfkit-table

| **rowSpacing** | <code>Number</code> | 3 | |
| **addPage** | <code>Boolean</code> | false | add table on new page |
| **prepareHeader** | <code>Function</code> | Function | |

@@ -361,2 +362,7 @@ | **prepareRow** | <code>Function</code> | Function | |

### 0.1.37
+ **addPage** <code>{String}</code> - Add table on new page.
- const options = { addPage: true, };
### 0.1.36

@@ -363,0 +369,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc