
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
csv-downloader
Advanced tools
A helper for a HTML5 web app to download a CSV file and save.
A huge CSV file will be split to several files. The byte size of the splitted each chunk is able to be specified. This feature is needed by a limitation of a Blob object MAX size. It is said that the MAX size of a Blob object is about 500 MB.
const CsvDownloader = require("csv-downloader");
const url = "https://path-to-the-csv";
const outputFilename = "filename-for-the-downloaded.csv";
const chunkSize = //A threshold byte size to split the csv by the line
480 * 1024 * 1024;
CsvDownloader.download(url, outputFilename, chunkSize);
Use npm to install
$ npm install --save csv-downloader
FAQs
Help to download csv files through HTML5 browser and save as local file
The npm package csv-downloader receives a total of 2 weekly downloads. As such, csv-downloader popularity was classified as not popular.
We found that csv-downloader 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.