
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Files2Pdf is a Node.js package for converting PowerPoint (.ppt, .pptx) and Word (.doc, .docx) files to PDF. It processes all supported files within a folder and saves the converted PDFs to the specified output directory.
Install Files2Pdf globally to use it as a command-line tool:
npm install -g files2pdf
Or install it locally in your project:
npm install files2pdf
You can use Files2Pdf directly from the command line.
files2pdf <input-folder> <output-folder>
<input-folder>: Path to the folder containing the files to convert.<output-folder>: Path to the folder where the converted PDFs will be saved.files2pdf ./input ./output
This command converts all supported files in the ./input folder to PDFs and saves them in the ./output folder.
You can also use Files2Pdf in your Node.js projects by importing the processFolder function.
const { processFolder } = require('files2pdf');
const path = require('path');
const inputFolder = path.resolve('./input');
const outputFolder = path.resolve('./output');
processFolder(inputFolder, outputFolder)
.then(() => console.log('All files converted successfully!'))
.catch(err => console.error('Error converting files:', err));
.ppt, .pptx.doc, .docxlibreoffice-convert library to work).If you encounter issues with the conversion:
FAQs
Convert files to PDF.
We found that files2pdf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.