Skip to content

A simple node server to create pdf files from an URL, using puppeteer. It works as standalone or with AWS Lambda.

License

Notifications You must be signed in to change notification settings

ProGM/node-html2pdf

Repository files navigation

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

yarn install
yarn start

Running Lambda implementation

yarn global add serverless
yarn install
yarn lambda

Deploy on lambda

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!

About

A simple node server to create pdf files from an URL, using puppeteer. It works as standalone or with AWS Lambda.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •