
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
This is command line interface tool to perform some conversion operation given in a config file on any given csv file and will write the converted csv file to the given output location
This is command line interface tool to perform some conversion operation given in a config file on any given csv file and will write the converted csv file to the given output location
CSVHelper uses a number of open source projects to work properly:
And of course CSVHelper itself is open source with a public repository on GitHub.
CSVHelper requires Node.js v10+ to run.
Install
npm install -g csvhelper
Usage from any where in the cmd execute below commands with mentioned args
csvhelper -s <sourceCSVpath> -c <configJSONfilePath> -o <outputFilePath>
below is the total JSON config options, based on the operations concerned options should be provided to perform the transformation
{
"operation": "",
// allowed operation values
// formatter , filter, merge, formulaField
"predicateOptions": {
"columnName" : "mention column name base on which predicate should perform",
"value": "threshold value",
"operator": "operator for comparison"
},
// predicateOptions is required when the operation is filter
"formateOptions": {
"columnName": "column name on which formating should happen currently supports date column type",
"formate" : "formate option ex MMM d, YYYY"
},
// formateOptions is required when the operation is formatter
"mergeOptions": {
"newColumnName": "new column name",
"mergeColumns": ["array of column names in string"], ex ["col1", "col2"]
"formate": "string inpeterpolation order based on which columns should be merged ex: ${0}, ${1} will give col1, col2"
}
// mergeOptions is required when the operation is merge
"formulaFieldOptions" : {
"columnName": "new column name",
"predicate": {
"field":"field on which predicate should be performed",
"value": "threshold value",
"operator": "comparison operator",
"truthyValue":"what value should be added to column if predicate is true",
"falsyValue": "what value should be added to column if predicate is fals"
}
}
//formulaFieldOptions is required when the operation is formulaField
}
for formatter operation
{
"operation" : "formatter",
"formateOptions" : {
"columnName" : "dob",
"formate": "MMM d, YYYY"
}
}
filter operation config
{
"operation" : "filter",
"predicateOptions" : [{
"columnName": "age",
"value": "50",
"operator": ">"
}]
}
Merge operation config
{
"operation" : "merge",
"mergeOptions": {
"newColumnName": "name",
"mergeColumns": ["first_name","last_name"],
"formate": "${0}, ${1}"
}
}
Formula field config
{
"operation" : "formulaField",
"formulaFieldOptions": {
"columnName": "eligible_for_voting",
"predicate": {
"field":"age",
"value": "18",
"operator": ">",
"truthyValue":"T",
"falsyValue": "F"
}
}
}
MIT
Free Software, Hell Yeah!
FAQs
This is command line interface tool to perform some conversion operation given in a config file on any given csv file and will write the converted csv file to the given output location
We found that csvhelper demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.