@ariana-reports/core
v0.2.0
Published
Framework-agnostic banded reporting engine: JSON templates, JSON data, safe JavaScript expressions, PDF and Excel export.
Maintainers
Readme
@ariana-reports/core
Framework-agnostic banded reporting engine for the browser: JSON templates, JSON data, sandboxed JavaScript expressions, HTML rendering, PDF and Excel export, plus the viewer and designer logic used by @ariana-reports/react and @ariana-reports/vue.
npm install @ariana-reports/coreimport { exportPdf, generateReport, renderDocument } from '@ariana-reports/core';
const doc = generateReport(template, data);
renderDocument(doc, document.getElementById('report')!);
const pdf = await exportPdf(doc);See the documentation for the template format, expressions and API.
