0.1.1 • Published 8 years ago

pdfmeta v0.1.1

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

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