Gathering detailed insights and metrics for @types/objects-to-csv
Gathering detailed insights and metrics for @types/objects-to-csv
Gathering detailed insights and metrics for @types/objects-to-csv
Gathering detailed insights and metrics for @types/objects-to-csv
The repository for high quality TypeScript type definitions.
npm install @types/objects-to-csv
Typescript
Module System
98.2
Supply Chain
87.1
Quality
75.3
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,020 Stars
89,735 Commits
30,435 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 12, 2025
Latest Version
1.3.3
Package Id
@types/objects-to-csv@1.3.3
Unpacked Size
5.96 kB
Size
2.04 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
npm install --save @types/objects-to-csv
This package contains type definitions for objects-to-csv (https://github.com/anton-bot/objects-to-csv#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/objects-to-csv.
1declare class ObjectsToCsv { 2 /** 3 * Creates a new instance of the object array to csv converter. 4 */ 5 constructor(data: object[]); 6 7 /** 8 * Holds data to be converted. 9 */ 10 data: object[]; 11 12 /** 13 * Saves the CSV file to the specified file. 14 * @param filename The path and filename of the new CSV file. 15 * @param options The options for writing to disk. 16 * @param options.append Whether to append to file. Default is overwrite (false). 17 * @param options.bom Append the BOM mark so that Excel shows 18 * @param options.allColumns Whether to check all items for column names or only the first. Default is the first. 19 * @returns Data converted to a CSV string. 20 */ 21 toDisk( 22 filename: string, 23 options?: { 24 append?: boolean | undefined; 25 bom?: boolean | undefined; 26 allColumns?: boolean | undefined; 27 }, 28 ): Promise<string>; 29 30 /** 31 * Returns the CSV file as string. 32 * @param header - If false, omit the first row containing the 33 * column names. 34 * @param allColumns - Whether to check all items for column names. 35 * Uses only the first item if false. 36 */ 37 toString(header?: boolean, allColumns?: boolean): Promise<string>; 38 39 /** 40 * Private method to run the actual conversion of array of objects to CSV data. 41 * @param data Data to be converted. 42 * @param header Whether the first line should contain column headers. 43 * @param allColumns Whether to check all items for column names. 44 * Uses only the first item if false. 45 * @returns Data converted to a CSV string. 46 */ 47 convert(data: object[], header?: boolean, allColumns?: boolean): Promise<string>; 48} 49 50export = ObjectsToCsv; 51
These definitions were written by Tom Plant.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More