Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
templates
.gitignore
README.md
app.js
package.json

README.md

Pdfcrowd & Express Demo

Sample for dynamic and static HTML to PDF conversions.

Prerequisites

nodejs
npm

Replace 'your_username' with your Pdfcrowd username and 'your_apikey' with your Pdfcrowd API key in app.js file. Sign up for a free trial if you don't have the credentials.

Installing

npm install

Web server start

nodejs app.js

Test

Open a sample web page http://localhost:8080/

Invoke a conversion to PDF by pressing buttons at the bottom of the page.

Documentation