-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
So I'm trying to get a very basic example running using your example on the module listing and your data.json from the repo. My script looks as follows:
default.js
var jsoncsv, data, fs;
fs = require('fs');
jsoncsv = require('jsoncsv');
data = fs.readFileSync('data.json').toString();
jsoncsv.parse(data, function(err, row) {
return console.log(row);
});it keeps returning the error
TypeError: Object function (err, row) {
return console.log(row);
} has no method 'join'
Am I doing something wrong? It's just your example code, so I'm not sure what could be happening. I realize the module is quite outdated, but any advice would be helpful. Thanks.
Metadata
Metadata
Assignees
Labels
No labels