Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@ironsoftware/ironpdf
Advanced tools
IronPDF is a library developed and maintained by Iron Software that helps Software Engineers to create, edit and extract PDF content.
IronPDF excels at:
IronPDF for Node.js utilizes a powerful Chrome Engine to render PDFs from HTML strings, files, and web URLs. Since the rendering process can be computationally intensive, it is recommended to delegate this task to the server-side. Frontend frameworks like ReactJs and Angular can communicate with the server to offload the computational work and await the result, which can then be displayed on the frontend side.
Using npm:
npm install @ironsoftware/ironpdf
Using yarn:
yarn add @ironsoftware/ironpdf
IronPdf required IronPDF Engine binary, which will download automatically on the first run. Or you can install it as a npm package (Recommended) (Optional)
NOTE: IronPDF Engine and IronPDF version need to match.
Using npm:
npm install @ironsoftware/ironpdf-engine-windows-x64
Using yarn:
yarn add @ironsoftware/ironpdf-engine-windows-x64
Using npm:
npm install @ironsoftware/ironpdf-engine-windows-x86
Using yarn:
yarn add @ironsoftware/ironpdf-engine-windows-x86
Using npm:
npm install @ironsoftware/ironpdf-engine-linux-x64
Using yarn:
yarn add @ironsoftware/ironpdf-engine-linux-x64
Using npm:
npm install @ironsoftware/ironpdf-engine-macos-x64
Using yarn:
yarn add @ironsoftware/ironpdf-engine-macos-x64
Using npm:
npm install @ironsoftware/ironpdf-engine-macos-arm64
Using yarn:
yarn add @ironsoftware/ironpdf-engine-macos-arm64
Here is a sample HTML to PDF example to get started:
import {PdfDocument} from "@ironsoftware/ironpdf";
// HTML to PDF
(async () => {
// Render the HTML string
const pdf = await PdfDocument.fromHtml("<h1>Testing</h1>");
// Export the PDF document
await pdf.saveAs("pdf-from-html.pdf");
})();
And another option is to create from URL to PDF:
import {PdfDocument} from "@ironsoftware/ironpdf";
// URL to PDF
(async () => {
// Render the web URL
const pdf = await PdfDocument.fromUrl("https://www.google.com");
// Export the PDF document
await pdf.saveAs("pdf-from-url.pdf");
})();
Stamp PDF
import {PdfDocument} from "@ironsoftware/ironpdf";
// Stamp PDF
(async () => {
// Load existing PDF document
const pdf = await PdfDocument.fromFile("mypdf.pdf");
// Stamp image on the PDF
await pdf.stampHtml("<img src='https://ironpdf.com/img/products/ironpdf-logo-text.svg'/>");
// Export the PDF document
await pdf.saveAs("stampedPdf.pdf");
})();
For more support and inquiries, please email us at: support@ironsoftware.com
FAQs
IronPDF for Node
The npm package @ironsoftware/ironpdf receives a total of 841 weekly downloads. As such, @ironsoftware/ironpdf popularity was classified as not popular.
We found that @ironsoftware/ironpdf demonstrated a healthy version release cadence and project activity because the last version was released less than 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.