Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
red-html-to-image
Advanced tools
Create node for node-red to parse pdf file.
Run the following command in the root directory of your Node-RED install:
npm i node-red-read-pdf
Buffer object that corresponds to a pdf file or a filepath leading to a pdf file.
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
}
{
"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,
}
]
}
FAQs
Conver html code image base64.
The npm package red-html-to-image receives a total of 0 weekly downloads. As such, red-html-to-image popularity was classified as not popular.
We found that red-html-to-image demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.