pdfmeta

0.1.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i pdfmeta

Weekly Downloads

27

Version

0.1.1

License

MIT

Last publish

Collaborators

  • sjlu