csvToJson
                                
                                
                                
                                    csvToJson copied to clipboard
                            
                            
                            
                        [Feature Request] Promises or raw string support
Actual Behavior
const json2 = csvToJson.fieldDelimiter(',').getJsonFromCsv(sourceReportDir).
getJsonFromCsv uses synchronous file API.
Description
The synchronous API is not suitable for modern Promise apps.
Introduce Promise API or let users read files on their own and allow passing raw string.
Specifications
- Version: 
2.46.0