1.0.5 • Published 4 years ago
reportingjs v1.0.5
reportingjs
Export your data from browsers in different formats with few lines of codes!
Usage
yarn install reportingjs
or npm install reportingjs
import { exporter } from 'reportingjs';
// import reportingjs from 'reportingjs' // unsure why this doesn't work
// bind this function to your button
// data: any[][]
// filename: string
const triggerSaveCSV = (data, filename) => exporter.createCSVExporterElement(data, filename).click();
Contribution
Welcome any contributions.