
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
csv-utilities
Advanced tools
A simple utility to manipulate and transform csv strings of data.
npm i csv-utilities
const csv = require('csv-util')
csv.csv2array(csv)
// returns a mutlidimensional array
const csv = require('csv-util')
csv.array2csv(array)
// returns a csv string
Switches the order of two columns in the csv string
switchColumnsOrder(csvString, column1, column2)
csv.switchColumnsOrder(csv, 1, 4)
// outputs a csv string with the columns 1 and 4 switched
Sorts each column in a row lowest to highest or alphabetically
csv.sortColumns(csv)
Reverses the order of all the rows
csv.reverseRows(csv)
Averages the numbers in each column in a row and creates an array
1, 2, 3
2, 1, 3
outputs:
[2 , 2]
Appends an array of columns into the csv
appending this:
[5, 6]
to this:
1, 2, 4
2, 1, 3
outputs:
1, 2, 3, 5
2, 1, 3, 6
FAQs
A simple utility to manipulate and transform csv strings of data.
The npm package csv-utilities receives a total of 4 weekly downloads. As such, csv-utilities popularity was classified as not popular.
We found that csv-utilities 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.