pdfinfo

0.0.3 • Public • Published

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)
})

You can also pass a readable stream into the first argument instead of a file.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    1,091
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    1,091
  • 0.0.2
    0

Package Sidebar

Install

npm i pdfinfo

Weekly Downloads

1,091

Version

0.0.3

License

MIT

Last publish

Collaborators

  • ecarter