@theo4u/wkhtmltopdf

1.1.0 • Public • Published

wkhtmltopdf linux x64

The package automatically downloads linux 64bit wkhtmltopdf binary. Use case to be used with AWS Lambda functions

Installation

npm install @theo4u/wkhtmltopdf

Usage

./node_modules/.bin/wkhtmltopdf

With wkhtmltopdf:

var wkhtmltopdf = require('wkhtmltopdf');

wkhtmltopdf.command = './node_modules/.bin/wkhtmltopdf'

wkhtmltopdf('<h1>hello world</h1>', { output: 'out.pdf' })

License

MIT

Package Sidebar

Install

npm i @theo4u/wkhtmltopdf

Weekly Downloads

248

Version

1.1.0

License

MIT

Unpacked Size

2.26 kB

Total Files

4

Last publish

Collaborators

  • theo4u