pdfmeta
Just returns meta information about a PDF using pdfjs.
Install
npm install pdfmeta --save
Usage
var pdfmeta = require('pdfmeta')
pdfmeta.getInfo(filePath).then(function(data) {
console.log(data)
})
getInfo(<path, buffer>)
- getInfo can accept either a file path or a buffer
Development
If you're interested in extending this library, clone this repository and run the appropriate tests.
git clone git@github.com:sjlu/pdfmeta.git
cd pdfmeta
npm test
License
MIT