json-2-csv
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -59,3 +59,3 @@ 'use strict'; | ||
exports.json2csv = function (data, callback) { | ||
module.exports = function (data, callback) { | ||
if (!callback) { throw new Error('A callback is required!'); } | ||
@@ -70,2 +70,2 @@ if (!data) { throw new Error('Cannot call json2csv on ' + data); } | ||
}); | ||
}; | ||
}; |
@@ -5,3 +5,3 @@ { | ||
"description": "Convert JSON to CSV (including sub-documents)", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "url": "" |
3446
6
69