crystal-node-runtime

@crystal-node/engine-wkhtmltopdf

Engine PDF via binĂ¡rio wkhtmltopdf. Puxa automaticamente @crystal-node/core.

npm install @crystal-node/engine-wkhtmltopdf vash
# + binĂ¡rio wkhtmltopdf no PATH do SO
const reportEngine = require('@crystal-node/engine-wkhtmltopdf');
await reportEngine.renderReportPdf(model, res, { reportDir: __dirname, pdf: { ... } });

Docs: site do projeto