pdf-extractor:用于将 pdf 页面渲染为图像、svgs、html 文件、文本文件和 json 元数据的 Node.js 模块

上传者: 42127775 | 上传时间: 2024-04-02 11:55:20 | 文件大小: 4.05MB | 文件类型: ZIP
pdf 提取器 Pdf-extractor 是的包装器,用于从 node.js 上的 pdf 生成图像、svgs、html 文件、文本文件和 json 文件。 图像:DOM画布用于呈现和导出pdf的图形层。 Canvas 默认导出 *.png,但可以扩展为导出到其他文件类型,例如 *.jpg。 SVG:使用 pdf.js 的将 Pdf 对象转换为 svg。 HTML:PDF 文本转换为 HTML。 这可以用作图像上的(透明)图层以启用文本选择。 文本:PDF 文本被提取到一个文本文件中以用于不同的用途(例如索引文本)。 Node.js 上的 PDF.js 这个库的最基本形式是 pdf.js 的 node.js 包装器。 它具有默认渲染器来生成默认输出,但很容易扩展以合并自定义逻辑或生成不同的输出。 它使用 node.js DOM 和来自 pdf.js 的节点 domstub 确实

文件下载

资源详情

[{"title":"( 57 个子文件 4.05MB ) pdf-extractor:用于将 pdf 页面渲染为图像、svgs、html 文件、文本文件和 json 元数据的 Node.js 模块","children":[{"title":"pdf-extractor-master","children":[{"title":"lib","children":[{"title":"pdfjs-utils","children":[{"title":"AnnotationLayerBuilder.js <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"TextLayerBuilder.js <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"domfacade.js <span style='color:#111;'> 7.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"MetaDataHandler.js <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"renderer","children":[{"title":"JsonRenderer.js <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"writer","children":[{"title":"FileWriter.js <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"PngWriter.js <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"TextWriter.js <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false},{"title":"SvgWriter.js <span style='color:#111;'> 950B </span>","children":null,"spread":false},{"title":"HtmlWriter.js <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false}],"spread":true},{"title":"AbstractRenderer.js <span style='color:#111;'> 958B </span>","children":null,"spread":false},{"title":"CanvasRenderer.js <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"SvgRenderer.js <span style='color:#111;'> 850B </span>","children":null,"spread":false}],"spread":true},{"title":"PdfExtractor.js <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"fonts","children":[{"title":"merriweather","children":[{"title":"Merriweather-BoldItalic.ttf <span style='color:#111;'> 147.03KB </span>","children":null,"spread":false},{"title":"Merriweather-Regular.ttf <span style='color:#111;'> 152.44KB </span>","children":null,"spread":false},{"title":"OFL.txt <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"Merriweather-Italic.ttf <span style='color:#111;'> 145.84KB </span>","children":null,"spread":false},{"title":"Merriweather-Black.ttf <span style='color:#111;'> 145.34KB </span>","children":null,"spread":false},{"title":"Merriweather-Light.ttf <span style='color:#111;'> 151.55KB </span>","children":null,"spread":false},{"title":"Merriweather-BlackItalic.ttf <span style='color:#111;'> 145.86KB </span>","children":null,"spread":false},{"title":"Merriweather-LightItalic.ttf <span style='color:#111;'> 145.25KB </span>","children":null,"spread":false},{"title":"Merriweather-Bold.ttf <span style='color:#111;'> 145.62KB </span>","children":null,"spread":false}],"spread":true},{"title":"roboto_mono","children":[{"title":"RobotoMono-BoldItalic.ttf <span style='color:#111;'> 119.93KB </span>","children":null,"spread":false},{"title":"RobotoMono-Thin.ttf <span style='color:#111;'> 115.36KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"RobotoMono-MediumItalic.ttf <span style='color:#111;'> 120.74KB </span>","children":null,"spread":false},{"title":"RobotoMono-Light.ttf <span style='color:#111;'> 116.19KB </span>","children":null,"spread":false},{"title":"RobotoMono-Regular.ttf <span style='color:#111;'> 111.94KB </span>","children":null,"spread":false},{"title":"RobotoMono-ThinItalic.ttf <span style='color:#111;'> 118.61KB </span>","children":null,"spread":false},{"title":"RobotoMono-Bold.ttf <span style='color:#111;'> 112.06KB </span>","children":null,"spread":false},{"title":"RobotoMono-Medium.ttf <span style='color:#111;'> 112.01KB </span>","children":null,"spread":false},{"title":"RobotoMono-Italic.ttf <span style='color:#111;'> 118.00KB </span>","children":null,"spread":false},{"title":"RobotoMono-LightItalic.ttf <span style='color:#111;'> 124.58KB </span>","children":null,"spread":false}],"spread":false},{"title":"open_sans","children":[{"title":"OpenSans-Regular.ttf <span style='color:#111;'> 212.18KB </span>","children":null,"spread":false},{"title":"OpenSans-SemiBoldItalic.ttf <span style='color:#111;'> 207.75KB </span>","children":null,"spread":false},{"title":"OpenSans-ExtraBoldItalic.ttf <span style='color:#111;'> 208.34KB </span>","children":null,"spread":false},{"title":"OpenSans-Light.ttf <span style='color:#111;'> 217.03KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"OpenSans-ExtraBold.ttf <span style='color:#111;'> 217.21KB </span>","children":null,"spread":false},{"title":"OpenSans-Bold.ttf <span style='color:#111;'> 219.19KB </span>","children":null,"spread":false},{"title":"OpenSans-LightItalic.ttf <span style='color:#111;'> 208.03KB </span>","children":null,"spread":false},{"title":"OpenSans-Italic.ttf <span style='color:#111;'> 207.77KB </span>","children":null,"spread":false},{"title":"OpenSans-BoldItalic.ttf <span style='color:#111;'> 208.17KB </span>","children":null,"spread":false},{"title":"OpenSans-SemiBold.ttf <span style='color:#111;'> 215.98KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"test","children":[{"title":"output","children":[{"title":".gitignore <span style='color:#111;'> 71B </span>","children":null,"spread":false}],"spread":true},{"title":"extract.js <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"template.ejs <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"pdfs","children":[{"title":"ccs08-staledns.pdf <span style='color:#111;'> 339.88KB </span>","children":null,"spread":false},{"title":"conversion-ppt.pdf <span style='color:#111;'> 176.41KB </span>","children":null,"spread":false},{"title":"c_tutorial.pdf <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"portrait_landscape.pdf <span style='color:#111;'> 42.95KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 292B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 646B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明