You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/pitfall/pktest/test0.coffee

8 lines
153 B
CoffeeScript

8 years ago
PDFDocument = require 'pdfkit'
fs = require 'fs'
# Create a new PDFDocument
doc = new PDFDocument
8 years ago
doc.pipe(fs.createWriteStream('test0.pdf'))
8 years ago
doc.end()