ngx-papaparse

Papa Parse wrapper for Angular. Fast parser-library for CSV to JSON and vice versa, with built in support for background-workers.


Keywords
csv, reader, parser, parse, parsing, delimited, text, data, auto-detect, comma, tab, pipe, file, filereader, stream, worker, workers, thread, threading, multi-threaded, angular, papa, papaparse, angular4, converts, csv-parser, multithreading, ngx-papapa, ngx-papaparse
License
MIT
Install
npm install ngx-papaparse@8.0.0

Documentation

Logo

Papa Parse wrapper for Angular

Version Travis Coveralls github License NPM downloads GitHub stars

This is a Papa Parse wrapper library for Angular.

More information in the full documentation.

Installation

You can install the library with npm.

Angular 16+

npm install ngx-papaparse@8 --save

Documentation

Older versions of Angular

For older versions of Angular, please see the docs for the correct version.

Getting started

Use the Papa Service in your project:

import { Component } from '@angular/core';
import { Papa } from 'ngx-papaparse';

@Component({
  ...
})
export class AppComponent {

    constructor(private papa: Papa) {
        const csvData = '"Hello","World!"';
        
        this.papa.parse(csvData,{
            complete: (result) => {
                console.log('Parsed: ', result);
            }
        });
    }
}

For a more detailed explanation of how to use this library, please refer to the full documentation.