Updated the package and add function and declared type
This commit is contained in:
parent
38f243e2e8
commit
d52568ec57
12
excel2json.d.ts
vendored
Normal file
12
excel2json.d.ts
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
interface Excel2JsonProps {
|
||||||
|
mappings?: Array<any>;
|
||||||
|
saveToOutput?: boolean;
|
||||||
|
outputPath?: string;
|
||||||
|
outputName?: string;
|
||||||
|
sheetName?: string;
|
||||||
|
inputFile?: string;
|
||||||
|
mapperFile?: string;
|
||||||
|
encoding?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare function excel2json(props: Excel2JsonProps);
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "excel2json",
|
"name": "excel2json-xlsx",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Excel to json",
|
"description": "Excel to JSON, able to export JSON from Excel (xlsx)",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "https://github.com/CUBETIQ/excel2json.git"
|
"url": "https://github.com/CUBETIQ/excel2json.git"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user