https://github.com/mdjamilkashemporosh/reactpdf
react-pdf generates PDFs from HTML documents. It uses html2canvas and jsPDF for capturing the DOM element and saving it as a PDF.
https://github.com/mdjamilkashemporosh/reactpdf
dom html2canvas jspdf pdf-generation react
Last synced: 2 months ago
JSON representation
react-pdf generates PDFs from HTML documents. It uses html2canvas and jsPDF for capturing the DOM element and saving it as a PDF.
- Host: GitHub
- URL: https://github.com/mdjamilkashemporosh/reactpdf
- Owner: mdjamilkashemporosh
- License: mit
- Created: 2024-04-08T17:59:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T03:25:51.000Z (about 2 years ago)
- Last Synced: 2025-03-20T17:42:24.625Z (over 1 year ago)
- Topics: dom, html2canvas, jspdf, pdf-generation, react
- Language: JavaScript
- Homepage: https://reactpdf-mjkp.netlify.app
- Size: 54.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# reactPDF
This application generates PDFs from HTML documents. It uses html2canvas and jsPDF for capturing the DOM element and saving it as a PDF.
## Demo
A live version of the website can be accessed at [reactpdf-mjkp.netlify.app](reactpdf-mjkp.netlify.app).


## Features
- Generate PDFs from HTML documents within your React application
- Support various HTML elements
- Customizable page size and margins
## Getting Started
If you would like to contribute to the project or run it locally, follow these steps:
Clone this repository to your local machine:
```
git clone https://github.com/mdjamilkashemporosh/reactPDF.git
```
Navigate to the project directory:
```
cd reactPDF
```
Install necessary packages:
```
npm install
```
Start the app:
```
npm run start
```
## Contributing
If you would like to contribute to this web application, please open an issue on GitHub to discuss your ideas or proposed changes. Pull requests are also welcome.
## License
This drawing web application is available under the MIT License. You are free to use, modify, and distribute this project as you see fit.