Installation
npm install --save @types/objects-to-csv
Summary
This package contains type definitions for objects-to-csv (https://github.com/anton-bot/objects-to-csv#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/objects-to-csv.
declare class ObjectsToCsv {
constructor(data: object[]);
data: object[];
toDisk(
filename: string,
options?: {
append?: boolean | undefined;
bom?: boolean | undefined;
allColumns?: boolean | undefined;
},
): Promise<string>;
toString(header?: boolean, allColumns?: boolean): Promise<string>;
convert(data: object[], header?: boolean, allColumns?: boolean): Promise<string>;
}
export = ObjectsToCsv;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Tom Plant.