New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ocr-document-classification

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ocr-document-classification - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

5

dist/index.js

@@ -66,4 +66,7 @@ "use strict";

};
async function loadMuPDF() {
return await import("mupdf");
}
async function convertPDFtoImages(pdfPath) {
const mupdf = await import("mupdf");
const mupdf = await loadMuPDF();
const pdf = new mupdf.Document(pdfPath);

@@ -70,0 +73,0 @@ const pageCount = pdf.countPages();

2

package.json
{
"name": "ocr-document-classification",
"version": "1.1.6",
"version": "1.1.7",
"description": "Document classification using tesseract.js and string-similarity-js.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc