New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

pdfiijs

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdfiijs

PDF inverted index creator.

latest
Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

pdfiijs

Build Status

PDF inverted index generator for node.

Creates inverted index from PDF file. The text inverted index generator is based on textiijs.

Requirements

This package is based on two other packages: pdftotext and pdfinfo. They both depend on pdftotext and pdfinfo being a part of poppler-utils.

To install poppler-utils follow the instructions:

Ubuntu/Debian
$ sudo apt-get install poppler-utils
MacOSX
$ sudo port install poppler` or `brew install xpdf
Windows

download and install Xpdf.

Installation

via npm:

$ npm install pdfiijs

Usage

var pdfii = require('pdfiijs');

var pii = new pdfii('./sample.pdf');

pii.get(function(err, data) {
  if(err) {
    return console.log("Error: " + err);
  }
  console.log(data);
});

Tests

$ make test

Coverage report

$ make test-cov

Keywords

pdf

FAQs

Package last updated on 20 Mar 2013

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