pdfgenerationbykhersonskiy
v1.0.2
Published
by Khersonskiy
Downloads
4
Readme
const PdfGeneration = require('pdf-generation-package');
// Define HTML content const htmlContent = `
// Define PDF generation options const options = { format: 'A4', orientation: 'portrait', border: '10mm' };
// Define output file path const outputPath = 'output.pdf';
// Generate PDF PdfGeneration.generatePDF(htmlContent, options, outputPath);