diff --git a/excel2json.d.ts b/excel2json.d.ts new file mode 100644 index 0000000..c1408ca --- /dev/null +++ b/excel2json.d.ts @@ -0,0 +1,12 @@ +interface Excel2JsonProps { + mappings?: Array; + saveToOutput?: boolean; + outputPath?: string; + outputName?: string; + sheetName?: string; + inputFile?: string; + mapperFile?: string; + encoding?: string; +} + +declare function excel2json(props: Excel2JsonProps); diff --git a/package.json b/package.json index deae321..89134c9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "excel2json", + "name": "excel2json-xlsx", "version": "1.0.0", - "description": "Excel to json", + "description": "Excel to JSON, able to export JSON from Excel (xlsx)", "repository": { "url": "https://github.com/CUBETIQ/excel2json.git" },