@yuyuyuyuyu-dev/html2pdf
v0.1.0
Published
`@yuyuyuyuyu-dev/html2pdf` converts HTML to PDF using Chromium.
Readme
@yuyuyuyuyu-dev/html2pdf
@yuyuyuyuyu-dev/html2pdf converts HTML to PDF using Chromium.
Prerequisites
Node.js, Chromium
e.g.
pkg install -y x11-repo
pkg install -y nodejs chromiumUsage
npx @yuyuyuyuyu-dev/html2pdf --chromium-path {Chromium path} --src {Source HTML file path} --dest {Destination PDF path}e.g.
npx @yuyuyuyuyu-dev/html2pdf --chromium-path "$(type -p chromium-browser)" --src ~/storage/downloads/index.html --dest ~/storage/downloads/output.pdfLicense
MIT License
