Closed isaklafleur closed 7 years ago
try to console.log(content)
in convertToJSON
function .
I think the content is passed wrong as fs.readFileAsync
is not a function. Also .toString
function from a Promise
will not work -- you will need to do it after promising resolved.
~Keyang
Hi
This is not an issue, rather a question how the library works.
I trying to create a class that have a couple of methods and I want to run these in a serie.
I get this error:
Unhandled rejection TypeError: cb is not a function at Converter.fromString (/Users/isaklafleur/Google...
Do you have any idea of how to fix this?
Code:
Error:
csv example file: