multiple-csv-merge-to-json
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -31,3 +31,3 @@ "use strict"; | ||
const encoding = options.encoding || DEFAULT_FILE_ENCODING; | ||
const data = yield (0, fs_1.readFileSync)(`${options.outputDir}/${options.outputFileName}`, encoding); | ||
const data = yield (0, fs_1.readFileSync)(`${options.outputDir}/${options.outputFileName}.json`, encoding); | ||
if (typeof data === "string") | ||
@@ -34,0 +34,0 @@ return JSON.parse(data); |
{ | ||
"name": "multiple-csv-merge-to-json", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Merge multiple CSV files and output to JSON file", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
15052