🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

pdfinfojs

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdfinfojs

A pdf meta information extractor

latest
Source
npmnpm
Version
0.5.2
Version published
Weekly downloads
134
13.56%
Maintainers
2
Weekly downloads
 
Created
Source

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

Keywords

pdf

FAQs

Package last updated on 28 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts