Non-Potable Macchiato

    azure-pdfinfo

    0.4.3 • Public • Published

    azure-pdfinfo

    A simple api for reading pdf meta info via xpdf's pdfinfo(1).

    Requires

    Install

    $ git clone https://github.com/Aserus/node-azure-pdfinfo.git
    $ cd azure-pdfinfo
    $ npm install
    

    Example

    var PDF = require('azure-pdfinfo');
    
    var pdf = PDF('test/pdf/basic.pdf');
    
    pdf.info(function(err, meta){
      if (err) throw err;
      console.log('pdf info', meta)
    })
    

    You can also pass a readable stream into the first argument instead of a file.

    License

    MIT

    Install

    npm i azure-pdfinfo

    DownloadsWeekly Downloads

    6

    Version

    0.4.3

    License

    MIT

    Last publish

    Collaborators

    • warus