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
- Host: GitHub
- URL: https://github.com/pacheco95/nest-papaparse
- Owner: Pacheco95
- License: mit
- Created: 2021-05-14T00:38:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-20T02:42:56.000Z (about 4 years ago)
- Last Synced: 2025-02-19T11:18:35.067Z (4 months ago)
- Language: TypeScript
- Size: 1.33 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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).