Sign inSign up

predicsis/html2pdf

By predicsis

•Updated over 8 years ago

Rasterizer based on PhantomJS

Image
1

100K+

predicsis/html2pdf repository overview

⁠html2pdf

PDF screenshot API based on Puppeteer.

⁠Node version

version >= 8.0.0

⁠Usage

$ NODE_ENV=production npm install
$ NODE_ENV=production PORT=4005 npm start

$ DEBUG=1 NODE_ENV=production PORT=4005 npm start
Open http://localhost:4005/export?url=http://www.google.com&filename=google.pdf&format=A4&orientation=portrait

Tag summary

Content type

Image

Digest

Size

397.8 MB

Last updated

over 8 years ago

docker pull predicsis/html2pdf