Pacotes npm
Todos sob o scope @crystal-node, versão alinhada 1.1.0.
| Pacote | Função | Puxa automaticamente | Peers (app) |
|---|---|---|---|
@crystal-node/core |
Helpers Crystal + chrome/suppress PDF | — | pdf-lib (opcional) |
@crystal-node/controller |
buildReportModel comercial e dotnetrequest |
— | — |
@crystal-node/engine-puppeteer |
PDF via Chromium | core |
puppeteer, vash, pdf-lib* |
@crystal-node/engine-wkhtmltopdf |
PDF via wkhtmltopdf | core |
vash, pdf-lib* |
@crystal-node/engine-weasyprint |
PDF via WeasyPrint | core |
vash, pdf-lib* |
@crystal-node/engine-devbox |
PDF via res.pdf + crystal-controller |
core, controller, engine-wkhtmltopdf |
vash (opcional) |
@crystal-node/routes |
Rotas Express a partir de pastas *Report |
— | express |
@crystal-node/runtime |
Meta-pacote (reexporta tudo; API 1.0) | todos acima | conforme o engine usado |
* pdf-lib é opcional — necessário para suppress/merge por página.
Grafo simplificado
runtime
├── core
├── controller
├── engine-puppeteer ──► core
├── engine-wkhtmltopdf ──► core
├── engine-weasyprint ──► core
├── engine-devbox ──► core + controller + engine-wkhtmltopdf
└── routes