Socket
Socket
Sign inDemoInstall

@crit-tech/pdf2text

Package Overview
Dependencies
2
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @crit-tech/pdf2text

Extracts raw text from PDF (no OCR)


Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Install size
2.10 MB
Created
Weekly downloads
 

Readme

Source

pdf2text

Uses pdf2json to scrape text from PDFs

Usage

import pdf2text from "@crit-tech/pdf2text";

const pages = await pdf2text("path/to/file.pdf");

pages.forEach((page, pageNo) => {
  console.log(`Text from page ${pageNo}:`);
  console.log(page);
});

FAQs

Last updated on 08 Jul 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc