Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@mrodrig/json-2-csv-cli
Advanced tools
Convert JSON to CSV or CSV to JSON
This module provides the command line interface functionality for the json-2-csv package.
CLI:
$ npm install -g @mrodrig/json-2-csv-cli
Usage: json2csv <jsonFile> [options]
Options:
-V, --version output the version number
-o, --output [output] Path of output file. If not provided, then stdout will be used
-f, --field <delimiter> Optional field delimiter
-w, --wrap <delimiter> Optional wrap delimiter
-e, --eol <delimiter> Optional end of line delimiter
-b, --excel-bom Excel Byte Order Mark character prepended to CSV
-W, --without-header Withhold the prepended header
-s, --sort-header Sort the header fields
-H, --trim-header Trim header fields
-F, --trim-fields Trim field values
-S, --check-schema Check for schema differences
-E, --empty-field-value <value> Empty field value
-A, --expand-array-objects Expand array objects
-k, --keys [keys] Keys of documents to convert to CSV
-h, --help output usage information
Usage: csv2json <csvFile> [options]
Options:
-V, --version output the version number
-c, --csv <csv> Path of json file to be converted
-o, --output [output] Path of output file. If not provided, then stdout will be used
-f, --field <delimiter> Optional field delimiter
-w, --wrap <delimiter> Optional wrap delimiter
-e, --eol <delimiter> Optional end of line delimiter
-b, --excel-bom Excel Byte Order Mark character prepended to CSV
-H, --trim-header Trim header fields
-F, --trim-fields Trim field values
-k, --keys [keys] Keys of documents to convert to CSV
-h, --help output usage information
FAQs
CLI for the json-2-csv package
The npm package @mrodrig/json-2-csv-cli receives a total of 2,979 weekly downloads. As such, @mrodrig/json-2-csv-cli popularity was classified as popular.
We found that @mrodrig/json-2-csv-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.