Installation
npm install --save @types/convert-excel-to-json
Summary
This package contains type definitions for convert-excel-to-json (https://github.com/DiegoZoracKy/convert-excel-to-json).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/convert-excel-to-json.
interface SheetConfig {
header?: { rows: number } | undefined;
range?: string | undefined;
columnToKey?: { [key: string]: string } | undefined;
includeEmptyLines?: boolean | undefined;
sheetStubs?: boolean | undefined;
}
declare function excelToJson(
config:
| ({ sourceFile: string } | { source: string | Buffer })
& { sheets?: ReadonlyArray<(string | (SheetConfig & { name: string }))> | undefined }
& SheetConfig
| string,
sourceFile?: string,
): { [key: string]: any[] };
export = excelToJson;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/node
Credits
These definitions were written by UNIDY2002.