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
npm install @types/objects-to-csv
Typescript
Module System
93.6
Supply Chain
87.1
Quality
75.3
Maintenance
100
Vulnerability
100
License
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Total Downloads
4,048,678
Last Day
2,264
Last Week
16,343
Last Month
76,934
Last Year
856,755
48,903 Stars
88,337 Commits
30,219 Forks
641 Watching
5 Branches
9,977 Contributors
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
Publised On
07 Nov 2023
Cumulative downloads
Total Downloads
Last day
-30%
2,264
Compared to previous day
Last week
-8.3%
16,343
Compared to previous week
Last month
0.8%
76,934
Compared to previous month
Last year
-36.2%
856,755
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 5 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
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 2024-12-23
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