A pdf meta information extractor


Keywords
pdf, pdfnifo, mocha
License
MIT
Install
npm install pdfinfojs@0.3.6

Documentation

pdfinfojs - pdfinfo shell wrapper for Node.js

Build Status pdfinfojs provides access to pdfinfo via shell in nodejs.

Installation

via npm:

$ npm install pdfinfojs

Usage

const pdfinfo = require('pdfinfojs');
const pdf = new pdfinfo('test/pdfs/sample.pdf');

pdf.getInfo()
.then(function (info) { // return Promise
  console.log(info);
})
.catch(function (err) {
  console.err(err);
});

Tests

$ npm test