Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pdfreader

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdfreader - npm Package Compare versions

Comparing version 0.2.5 to 1.0.0

.github/ISSUE_TEMPLATE/bug-report.md

13

package.json
{
"name": "pdfreader",
"version": "0.2.5",
"version": "1.0.0",
"description": "Read text and parse tables from PDF files. Supports tabular data with automatic column detection, and rule-based parsing.",
"main": "index.js",
"scripts": {
"test-buffer": "node parseAsBuffer.js test/sample.pdf",
"test": "node test/test.js"
"test:print:result": "echo ✅ Tests passed.",
"test:diff:buffer": "node parseAsBuffer.js test/sample.pdf >test/test-buffer-snapshot.log; git --no-pager diff test/test-buffer-snapshot.log 1>&2; exit $(git --no-pager diff test/test-buffer-snapshot.log | wc -l)",
"test:diff:file": "node test/test.js >test/test-snapshot.log; git --no-pager diff test/test-snapshot.log 1>&2; exit $(git --no-pager diff test/test-snapshot.log | wc -l)",
"test:diff": "npm run -s test:diff:file && npm run -s test:diff:buffer",
"test:regression": "exit $(node parseAsBuffer.js test/issue-14-uncaught-error.pdf | grep --count Error)",
"test:sample": "node test/test.js && node parseAsBuffer.js test/sample.pdf",
"test": "npm run -s test:sample && npm run -s test:regression && npm run -s test:diff && npm run -s test:print:result"
},

@@ -35,4 +40,4 @@ "repository": {

"dependencies": {
"pdf2json": "^0.7.1"
"pdf2json": "1.1.2"
}
}
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