
Security News
Node.js Homepage Adds Paid Support Link, Prompting Contributor Pushback
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
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 0 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.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.
Research
Security News
The Socket Research Team investigates a malicious Python typosquat of a popular password library that forces Windows shutdowns when input is incorrect.