node-pdf-generator

0.0.6 • Public • Published

node-pdf-generator

A Node web server to generate PDF's from HTML that uses the wkhtmltopdf command line tool.

Installation

Prerequisites

Install the wkhtmltopdf command line tool on your system (download).

Add wkhtmltopdf to your PATH, the server will not be able to use wkhtmltopdf without this.

Setup

Install npm, and then do this:

npm install node-pdf-generator

Usage

Basic usage with default configuration:

node index.js

The server can be configured using any method supported by nconf, for example from a bash shell:

port=1338 bindIp=0.0.0.0 node index.js

Readme

Keywords

Package Sidebar

Install

npm i node-pdf-generator

Weekly Downloads

1

Version

0.0.6

License

BSD

Last publish

Collaborators

  • darrenhaken