https://github.com/progm/node-html2pdf
A simple node server to create pdf files from an URL, using puppeteer. It works as standalone or with AWS Lambda.
https://github.com/progm/node-html2pdf
html2pdf nodejs pdf-generation puppeteer
Last synced: 4 months ago
JSON representation
A simple node server to create pdf files from an URL, using puppeteer. It works as standalone or with AWS Lambda.
- Host: GitHub
- URL: https://github.com/progm/node-html2pdf
- Owner: ProGM
- License: mit
- Created: 2019-06-07T10:08:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T22:27:28.000Z (over 3 years ago)
- Last Synced: 2025-11-11T21:29:11.708Z (7 months ago)
- Topics: html2pdf, nodejs, pdf-generation, puppeteer
- Language: TypeScript
- Size: 913 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node HTML2PDF
A simple node server to create pdf files from an URL, using puppeteer.
Written in Typescript, it works as standalone or with AWS Lambda.
### Running standalone implementation
```bash
yarn install
yarn start
```
### Running Lambda implementation
```bash
yarn global add serverless
yarn install
yarn lambda
```
### Deploy on lambda
```bash
serverless deploy -v // Optionally you can specify a profile with `--aws-profile profile-name`
```
### Sentry
Just set the env SENTRY_DSN with your sentry url, and it's done!