Comparing version 0.0.8 to 0.1.1
{ | ||
"name": "pdfreader", | ||
"version": "0.0.8", | ||
"version": "0.1.1", | ||
"description": "Utility for simplifying the development of scripted / rule-based parsing of PDF files, including tabular data (tables, with automatic column detection).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
10
parse.js
@@ -10,4 +10,10 @@ var LOG = require("./lib/LOG.js").toggle(false); | ||
callback(); | ||
else if (item.file) | ||
console.log("file =", item.file.path); | ||
else if (item.page) | ||
console.log("page =", item.page); | ||
else if (item.x) | ||
console.log([item.x, item.y, item.oc, item.A, Math.floor(item.w), item.text].join("\t")); | ||
else | ||
console.log(item); | ||
console.warn(item); | ||
}); | ||
@@ -21,3 +27,3 @@ } | ||
else { | ||
console.warn("printing raw items from file:", filename); | ||
console.warn("printing raw items from file:", filename, "..."); | ||
printRawItems(filename, function(){ | ||
@@ -24,0 +30,0 @@ console.warn("done."); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45048
508