https://github.com/rsachdeva/nodeedx-csv-json
node based csv to json - adding functional style with es6/es7 usage
https://github.com/rsachdeva/nodeedx-csv-json
babel es6 es7-async functional-programming nodejs
Last synced: 2 months ago
JSON representation
node based csv to json - adding functional style with es6/es7 usage
- Host: GitHub
- URL: https://github.com/rsachdeva/nodeedx-csv-json
- Owner: rsachdeva
- Created: 2018-01-10T00:03:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-10T00:14:58.000Z (almost 8 years ago)
- Last Synced: 2025-02-05T00:28:01.625Z (9 months ago)
- Topics: babel, es6, es7-async, functional-programming, nodejs
- Language: JavaScript
- Homepage:
- Size: 192 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Functionality
Given a CSV file (There is already sample customer-data.csv in the project), create a JSON file
in functional style: with csv to json event listeners wrapped in promise; using reducer and action ;
adding import and async/await es6/es7 usage
## Installation
Clone project and you will have a directory nodeedx-csv-json:
cd nodeedx-csv-json
nodenv local 9.3.0 ( This step is optional; project tested with node version 9.3.0; nodenv is at https://github.com/nodenv/nodenv)
There is package.lock file included in the project.
npm install
npm start
You should see on screen message 'json file created'.
See in your current folder customer-data.json
## Copyright
Please notify if you are directly using code from here. Thanks.
Copyright © 2009-2018, Rohit Sachdeva