An open API service indexing awesome lists of open source software.

https://github.com/pacheco95/nest-papaparse

A simple wrapper for papaparse library with aditional facilities
https://github.com/pacheco95/nest-papaparse

Last synced: 4 months ago
JSON representation

A simple wrapper for papaparse library with aditional facilities

Awesome Lists containing this project

README

        


Package License


## Nest Papaparse

[Papaparse](https://github.com/mholt/PapaParse) wrapper provider for [Nest.js](https://github.com/nestjs/nest) with additional facilities

## Usage

All you need to do is import the [PapaparseModule](lib/papaparse.module.ts) into your module
and inject the [CsvExporterProvider](lib/csv-exporter.provider.ts) into your providers. See [samples](samples):
- Exporting plain objects [sample](samples/plain)
- Exporting dto using [Exportable](lib/exportable.decorator.ts) decorator [sample](samples/dto)

## Test

```bash
# unit tests
$ npm run test
```

## Stay in touch

- Author - [Michael Pacheco](https://www.linkedin.com/in/michaelpacheco95/)

## License

nest-papaparse is [MIT licensed](LICENSE).