@echelon-framework/export-core
v0.7.1
Published
Export helpers for Echelon — CSV encoder, PDF adapter contract, scheduled reports.
Readme
@echelon-framework/export-core
Export utilities for Echelon framework — CSV, JSON, data transformation.
Part of the Echelon Framework — Angular-based, config-driven dashboard & low-code platform.
Installation
npm install @echelon-framework/export-coreUsage
import { exportToCsv, exportToJson, downloadFile } from '@echelon-framework/export-core';
// Export data table to CSV
const csv = exportToCsv(rows, { columns: ['name', 'amount', 'date'] });
// Download as file
downloadFile(csv, 'positions.csv', 'text/csv');
// Export to JSON
const json = exportToJson(data, { pretty: true });
downloadFile(json, 'export.json', 'application/json');License
BUSL-1.1
