csvexport
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

CsvExport

Export CSV files from javascript objects in the browser

Usage

import CsvExport from "csvexport";
 
// See wiki for complete options
const exporter = CsvExport.create({ filename: "export.csv", columns: ["name", "age"] });
 
const people = [
  {name: "Alice", age: 20},
  {name: "Bob", age: 19},
  {name: "Charlie", age: 30}
];
 
exporter.downloadCsv(people);

Readme

Keywords

Package Sidebar

Install

npm i csvexport

Weekly Downloads

1,522

Version

2.0.0

License

MIT

Unpacked Size

4.29 kB

Total Files

3

Last publish

Collaborators

  • edamtoft