Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darrenhaken/node-pdf-generator
Web server to generate PDF's from HTML using wkhtmltopdf
https://github.com/darrenhaken/node-pdf-generator
Last synced: 3 months ago
JSON representation
Web server to generate PDF's from HTML using wkhtmltopdf
- Host: GitHub
- URL: https://github.com/darrenhaken/node-pdf-generator
- Owner: darrenhaken
- Created: 2013-11-07T10:11:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-29T13:59:50.000Z (over 10 years ago)
- Last Synced: 2024-10-15T11:39:02.741Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 220 KB
- Stars: 5
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
node-pdf-generator
==================A Node web server to generate PDF's from HTML that uses the [wkhtmltopdf](http://code.google.com/p/wkhtmltopdf/) command line tool.
## Installation
### Prerequisites
Install the wkhtmltopdf command line tool on your system ([download](http://code.google.com/p/wkhtmltopdf/downloads/list)).
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*](https://npmjs.org/package/nconf), for example from a bash shell:
port=1338 bindIp=0.0.0.0 node index.js