Socket
Socket
Sign inDemoInstall

pdfkit-table

Package Overview
Dependencies
1
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.55 to 0.1.56

2

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

@@ -214,2 +214,8 @@ # pdfkit-table

- width <code>Number</code>
- align <code>String</code>
- background <code>Object</code> sample: {"color": "grey", "opacity": 0.5}
- color: <code>String</code>
- opacity: <code>Number</code>
- backgroundColor <code>String</code> 'green'
- backgroundOpacity: <code>Number</code>
- renderer <code>Function</code> function( value, indexColumn, indexRow, row, rectRow, rectCell ) { return value }

@@ -221,2 +227,16 @@ - datas <code>Array.&lt;object&gt;</code>

### Headers
| Properties | Type | Default | Description |
-----------------------|-----------------------|--------------------|-------------------|
| **label** | <code>String</code> | undefined | description |
| **property** | <code>String</code> | undefined | id |
| **width** | <code>Number</code> | undefined | width of column |
| **align** | <code>String</code> | left | alignment |
| **background** | <code>Object</code> | undefined | background of column, sample: {"color": "grey", "opacity": 0.5} |
| **backgroundColor** | <code>String</code> | undefined | color of column |
| **backgroundOpacity**| <code>Number</code> | undefined | opacity of column |
| **renderer** | <code>Function</code> | Function | function( value, indexColumn, indexRow, row, rectRow, rectCell ) { return value } |
Example code:

@@ -223,0 +243,0 @@ ```js

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc