/pdfkit-testing

Testing PDF generation with pdfkit in Javascript.

Primary LanguageJavaScriptMIT LicenseMIT

Testing pdf generation with pdfkit in Javascript

Testing PDF generation with pdfkit in Javascript.

Base code is based off the example on PDFKit's documentation: http://pdfkit.org/docs/guide.pdf

Requirements

  • NodeJS (Only tested on 8.4.0)

  • Some type of PDF viewer

  • Some type of text editor

  • Other dependencies are managed by the Node Package Manager

Setup

The following needs to be run once. After cloning this repo.

  1. npm install
  2. node index.js

Running

On subsequent modifications of the script, just recompile the output file with:

node index.js