A simple and efficient tool for generating PDF documents programmatically.
- Generate PDFs from templates or raw data.
- Support for text, images, and custom layouts.
- Lightweight and easy to integrate into existing projects.
Clone the repository:
git clone https://github.com/about40kills/pdf-generator.git
cd pdf-generatorInstall dependencies:
npm installImport the library and start generating PDFs:
const pdfGenerator = require('pdf-generator');
const pdf = pdfGenerator.create({
title: 'Sample PDF',
content: 'This is a sample PDF document.',
});
pdf.save('output.pdf');Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push to your fork.
- Submit a pull request.
This project is licensed under the MIT License.
For questions or support, please contact opokudavis141@gmail.com.