Have ideas to improve npm?Join in the discussion! »

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

    5.0.0 • Public • Published

    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 9+

    npm install ngx-papaparse@5 --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.

    Install

    npm i ngx-papaparse

    DownloadsWeekly Downloads

    18,023

    Version

    5.0.0

    License

    MIT

    Unpacked Size

    138 kB

    Total Files

    41

    Last publish

    Collaborators

    • avatar