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

red-html-to-image

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

red-html-to-image

Conver html code image base64.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

About

Create node for node-red to parse pdf file.

Install

Run the following command in the root directory of your Node-RED install:

npm i node-red-read-pdf

Inputs

payload

Buffer object that corresponds to a pdf file or a filepath leading to a pdf file.

Outputs

payload

Normal mode

Results of the parsing will be returned the object corresponding to a pages in the pdf.

{
    numpages: <number> Number of pages,
    numrender: <number> Number total page,
    info: {
        PDFFormatVersion: <string> PDFFormatVersion,
        IsAcroFormPresent: <bool> false,
        IsXFAPresent: <bool> false,
        Creator: <string> Creator,
        Producer: <string> Producer,
        CreationDate: <string> CreationDate
    },
    metadata: <unknown> null,
    text: <string> PDF content,
    version: <string> Version PDF
}

Advance mode for

{
    "Meta": { 
        "PDFFormatVersion": <string> PDF foramt version, 
        "IsAcroFormPresent": <bool> false, 
        "IsXFAPresent": <bool> false, 
        "Author": <string> Author, 
        "Creator": <string> Creator, 
        "Producer": <string> Producer, 
        "CreationDate": <string> Date, 
        "Metadata": <object> {} 
    },
    "Pages": [
        {
            "Width": <number> Page width,
            "Height": <number> Page height,
            "HLines": <object[]> Horizontal lines,
            "VLines": <object[]> Vertical lines,
            "Fills": <object[]> Fills,
            "Texts": <object[]> PDF content,
            "Fields": <object[]> Fields,
            "Boxsets": <object[]> Boxsets,
        }
    ]
}

Keywords

FAQs

Package last updated on 15 Jun 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc