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.35 to 0.1.36

1

index.js

@@ -90,2 +90,3 @@ "use strict";

// add space after title
if( title || subtitle ){

@@ -92,0 +93,0 @@ startY += 3;

2

package.json
{
"name": "pdfkit-table",
"version": "0.1.35",
"version": "0.1.36",
"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",

@@ -53,2 +53,4 @@ # pdfkit-table

const table = {
title: "Title",
subtitle: "Subtitle",
headers: ["Country", "Conversion rate", "Trend"],

@@ -247,2 +249,4 @@ rows: [

-----------------------|-----------------------|--------------------|-------------------|
| **title** | <code>String</code> | undefined | title |
| **subtitle** | <code>String</code> | undefined | subtitle |
| **width** | <code>Number</code> | undefined | width of table |

@@ -262,2 +266,4 @@ | **x** | <code>Number</code> | undefined / doc.x | position x (left) |

// properties
title: "Title",
title: "Subtitle",
width: 500, // {Number} default: undefined // A4 595.28 x 841.89 (portrait) (about width sizes)

@@ -357,2 +363,7 @@ x: 0, // {Number} default: undefined | doc.x

### 0.1.36
+ Fix position x, y of title
+ **options.x**: **null** | **-1** // reset position to margins.left
### 0.1.35

@@ -359,0 +370,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