Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
parse-csvtojson
Advanced tools
Stream and CLI to convert CSV to JSON.
Installation of the npm package:
Install globally if you want to use the CLI:
npm install --global parse-csvtojson
Install locally if you want to use it as a library:
npm install --save parse-csvtojson
var csv2json = require("parse-csvtojson");
var fs = require("fs");
csv2json("example.csv", options, function (err, jsonData) {
if (err) {
console.error("Error:", err);
} else {
result = jsonData;
console.log(JSON.stringify(jsonData, null, 2));
}
});
Contributions are very welcomed, either on the documentation or on the code.
You may:
FAQs
Convert CSV file to JSON object
The npm package parse-csvtojson receives a total of 17 weekly downloads. As such, parse-csvtojson popularity was classified as not popular.
We found that parse-csvtojson demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.