Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
xlsx-write-stream
Advanced tools
XLSX Write Stream is a streaming writer for XLSX spreadsheets. Its purpose is to replace CSV for large exports, because using CSV in Excel is very buggy and error prone. It's very efficient and can quickly write hundreds of thousands of rows with low memory usage.
XLSX Write Stream does not support formatting, charts, comments and a myriad of other OOXML features. It's strictly an CSV replacement.
npm i 'xlsx-write-stream'
import XLSXWriteStream from 'xlsx-write-stream';
// Initialize the writer
const xlsxWriter = new XLSXWriteStream();
// Set input stream. Input stream needs to implement Stream.Readable interface
// and each chunk should be an array of values (only string, date and number are supported value types)
xlsxWriter.setInputStream(inputStream);
// Get output stream. This will return a stream of XLSX file data.
const xlsxStream = xlsxWriter.getOutputStream();
// do something with the output, like write it into file or send it as HTTP response
const writeStream = fs.createWriteStream('file.xlsx');
xlsxStream.pipe(writeStream);
This package is available as open source under the terms of the MIT License.
FAQs
XLSX stream writer
The npm package xlsx-write-stream receives a total of 5,182 weekly downloads. As such, xlsx-write-stream popularity was classified as popular.
We found that xlsx-write-stream demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.