ecarter / node-pdfinfo

A simple api for reading PDF meta info via xpdf's pdfinfo(1)
4 stars 8 forks source link

Bugfix so pdfinfo will not crash if file passed to it is not a PDF #1

Closed wilco42 closed 10 years ago

wilco42 commented 11 years ago

A little defensive coding so that non-PDF files won't crash node.

ecarter commented 10 years ago

Just wanted to say thanks and my apologies for taking a year to get these changes merged into master. npm is now at version 0.0.3 which includes these updates.

Appreciate your contribution :thumbsup: