
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
combine-multiple-pdfs
Advanced tools
Combine or Merge multiple Pdfs into single a Pdf
I needed a simple way to combine multiple pdf files into a single pdf file.
$ npm i combine-multiple-pdfs -S
Take a look into the usage section for a detailed example.
Note: you can also use the default export.
This function Takes Array of file paths and converted into a sigle new buffer.
Returns a new pdf file buffer.
const newBuffer = combinePdfs(data, options);
data files path
An example how to use it.
const { combinePdfs } = require("combine-multiple-pdfs");
/* or */
const combinePdfs = require("combine-multiple-pdfs");
let data = ["./dummy.pdf", "./dummy1.pdf"];
/* Minimum two files required */
let options = { outName: "mergedPdf", outPath: "./public" };
let newFileBuffer = combinePdfs(data, options);
FAQs
Merge multiple pdfs into a single pdf
The npm package combine-multiple-pdfs receives a total of 1 weekly downloads. As such, combine-multiple-pdfs popularity was classified as not popular.
We found that combine-multiple-pdfs 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 RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.