nc

@sammaye/ng-csv

Angular CSVs

Showing:

Popularity

Downloads/wk

6

Maintenance

No Maintenance Data Available

Package

Dependencies

1

License

Type Definitions

Built-In

Tree-Shakeable

Yes?

Readme

NgCsv

Making CSVs with Angular.

This library is really simple, just a single class with a small and slim API.

Install

npm i @sammaye/ng-csv --save

Use

Much of the documentation for the different options can be found directly in the code. It is very well documented and should be easy to read.

Here I will just give a quick example of usage:

new NgCsv(
  [
    {
      address: "T",
      name: "T",
      email: "T",
      from: "T",
      to: "T",
      days: "T",
      hours: "T"
    }
  ],
  'Employee Details', 
  {
    labels: [
      'Address',
      'Name',
      'Email Address',
      'From',
      'To',
      'Days',
      'Hours',
    ]
  }
).download();

Will print and download a CSV which contains one row, with the labels as the column headers using the filename employee_details.csv.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Tutorials

No tutorials found
Add a tutorial