Skip to content

Aserus/node-azure-pdfinfo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azure-pdfinfo

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

Requires

Install

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

Example

var PDF = require('azure-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

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 97.6%
  • Makefile 2.4%