npm.io
0.1.1 • Published 10 years ago

pdfmeta

Licence
MIT
Version
0.1.1
Deps
3
Vulns
1
Weekly
0

pdfmeta

Circle CI npm version

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

Keywords