Package Exports
- filefy
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (filefy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
filefy
A javascript library to produce downloadable files such as in CSV, PDF, XLSX, DOCX formats
Only CSV export is available for now!
Installation
To install filefy with npm:
npm install --save filefyTo install filefy with yarn:
yarn add filefyUsage
import { CsvBuilder } from 'filefy';
var csvBuilder = new CsvBuilder("user_list.csv")
.setColumns(["name", "surname"])
.addRow(["Eve", "Holt"])
.addRows([
["Charles", "Morris"],
["Tracey", "Ramos"]
])
.exportFile();Licence
This project is licensed under the terms of the MIT license.