
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.
basic-xlsx-reader
Advanced tools
rust-wasm binding that uses calamine to read XLSX files
import init, {BasicXLSXReader} from 'basic-xlsx-reader';
const readFileAsUInt8Array = (file: File): Int8Array => {
return new Promise((resolve, reject) => {
const reader = new FileReader();
reader.onload = function () {
const data = reader.result;
const array = new Int8Array(data);
resolve(array);
};
reader.onerror = reject;
reader.readAsArrayBuffer(file);
});
};
(async () => {
await init();
const input = document.querySelector('input[type=file]');
const fileUint8Array = await readFileAsUInt8Array([input.files]);
const basicXLSXReader = new BasicXLSXReader(fileUint8Array);
const output = basicXLSXReader.read({
headerRow: 1, // 0 indexed
sheet: {name: "Test Sheet"}, // omit to get all sheets
includeEmptyCells: true,
});
console.log(output);
})();
;
/*
{
"sheets": [
{
"sheet": "Test Sheet",
"row": [
{
"columns": [
{
"header": "Column 1",
"value": "Test Cell"
},
{
"header": "Column 2",
"value": 2
}
]
}
]
}
]
}
*/
FAQs
rust-wasm binding that uses calamine to read XLSX files
The npm package basic-xlsx-reader receives a total of 0 weekly downloads. As such, basic-xlsx-reader popularity was classified as not popular.
We found that basic-xlsx-reader demonstrated a not healthy version release cadence and project activity because the last version was released 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.

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.