
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.
excel-to-clean-json
Advanced tools
Simple script to organize the object you get back from xlsjs. There are a lot of these, and I make no claim to have the best.
v0.0.3
npm install excel-to-clean-json
var xlsToJSON = require("excel-to-clean-json");
var json = xlsToJSON.json("test/2012pres.xls", "2012 Pres General Results");
var rows = xlsToJSON.rows("test/2012pres.xls", "2012 Pres Primary Party Summary");
xlsToJSON.json(filename, worksheet_name) converts a specific worksheet to an array of Javascript objects, one for each row. It assumes the first row has head information and uses it as the keys. For example, from npm test:
[
{
"1": 2,
"FEC ID": "P80003353",
"STATE": "Alabama",
"STATE ABBREVIATION": "AL",
"GENERAL ELECTION DATE": 41219,
"FIRST NAME": "Mitt",
"LAST NAME": "Romney",
"LAST NAME, FIRST": "Romney, Mitt",
"PARTY": "R",
"GENERAL RESULTS": 1255925,
"GENERAL %": 0.6054582232982282,
"WINNER INDICATOR": "W"
},
{
"1": 3,
"FEC ID": "P80003338",
"STATE": "Alabama",
"STATE ABBREVIATION": "AL",
"GENERAL ELECTION DATE": 41219,
"FIRST NAME": "Barack",
"LAST NAME": "Obama",
"LAST NAME, FIRST": "Obama, Barack",
"PARTY": "D",
"GENERAL RESULTS": 795696,
"GENERAL %": 0.3835903309875247
}
xlsToJSON.rows(filename, worksheet_name) will convert a specific worksheet to an array of arrays. Use this when there is no header info.
[
[
"Summary of 2012 Presidential Primary Vote Totals by Party"
],
[
"Republican Party (R)",
19530335
],
[
"Democratic Party (D)",
8571580
]
xlsToJSON(filename) will convert every worksheet using .json.
v0.0.3: Fixed a major bug where wasn't reading columns after 'Z'
FAQs
Simple script to organize the object you get back from `xlsjs`
We found that excel-to-clean-json 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.