Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alberthaff/ngx-papaparse
Papa Parse wrapper for Angular
https://github.com/alberthaff/ngx-papaparse
angular angular4 converts csv csv-parser multithreading ngx-papapa ngx-papaparse papaparse workers
Last synced: 30 days ago
JSON representation
Papa Parse wrapper for Angular
- Host: GitHub
- URL: https://github.com/alberthaff/ngx-papaparse
- Owner: alberthaff
- License: mit
- Created: 2017-07-07T15:21:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T05:48:08.000Z (about 1 year ago)
- Last Synced: 2024-04-14T10:53:32.006Z (7 months ago)
- Topics: angular, angular4, converts, csv, csv-parser, multithreading, ngx-papapa, ngx-papaparse, papaparse, workers
- Language: TypeScript
- Homepage: https://alberthaff.dk/projects/ngx-papaparse/docs/v8
- Size: 4.16 MB
- Stars: 91
- Watchers: 4
- Forks: 20
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-angular - ngx-papaparse - [Papa Parse](https://www.papaparse.com) wrapper. (Table of contents / Angular)
- fucking-awesome-angular - ngx-papaparse - 🌎 [Papa Parse](www.papaparse.com) wrapper. (Table of contents / Angular)
- fucking-awesome-angular - ngx-papaparse - 🌎 [Papa Parse](www.papaparse.com) wrapper. (Table of contents / Angular)
README
![Logo](https://raw.githubusercontent.com/alberthaff/ngx-papaparse/master/assets/ngx-papaparse.svg?sanitize=true)
# Papa Parse wrapper for Angular
[![Version](https://img.shields.io/npm/v/ngx-papaparse.svg?style=flat-square)](https://www.npmjs.com/package/ngx-papaparse)
[![Travis](https://img.shields.io/travis/alberthaff/ngx-papaparse/master.svg?style=flat-square)](https://travis-ci.org/alberthaff/ngx-papaparse)
[![Coveralls github](https://img.shields.io/coveralls/github/alberthaff/ngx-papaparse.svg?style=flat-square)](https://coveralls.io/github/alberthaff/ngx-papaparse)
[![License](https://img.shields.io/npm/l/ngx-papaparse.svg?style=flat-square)](https://github.com/alberthaff/ngx-papaparse/blob/master/LICENSE.md)
[![NPM downloads](https://img.shields.io/npm/dt/ngx-papaparse.svg?style=flat-square)](https://www.npmjs.com/package/ngx-papaparse)
[![GitHub stars](https://img.shields.io/github/stars/alberthaff/ngx-papaparse.svg?label=Stars&style=flat-square)](https://github.com/alberthaff/ngx-papaparse)This is a [Papa Parse](https://github.com/mholt/PapaParse) wrapper library for Angular.
More information in the [full documentation](https://alberthaff.dk/projects/ngx-papaparse/docs/v7).
## Installation
You can install the library with [npm](https://npmjs.com).### Angular 16+
npm install ngx-papaparse@8 --save
[Documentation](https://alberthaff.dk/projects/ngx-papaparse/docs/v7)### 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:
```typescript
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](https://alberthaff.dk/projects/ngx-papaparse/docs/v7).