pdfinfo

simple api for reading pdf meta info via xpdf's pdfinfo(1)

npm install pdfinfo
7 downloads in the last week
16 downloads in the last month

node-pdfinfo

A simple api for reading pdf meta info via xpdf's pdfinfo(1).

Requires

Install

$ git clone https://github.com/ecarter/node-pdfinfo.git
$ cd node-pdfinfo
$ npm install

Example

var PDF = require('pdfinfo');

var pdf = PDF('test/pdf/basic.pdf');

pdf.info(function(err, meta){
  if (err) throw err;
  console.log('pdf info', meta)
})

License

MIT

npm loves you