Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
filelist-utils
Advanced tools
Create a FileList from a path or a zip.
In order to make compatible code between the browser and node and to allow drag and drop of a folder it is useful to deal with FileList (that implements an Iterator of File).
This library allows to create such a FileList from a directory path (only available in nodejs) or from a zip file (available from nodejs and the browser).
npm i filelist-utils
import { fileListFromPath } from 'filelist-utils';
const fileList = fileListFromPath(join(__dirname));
import { fileListFromZip } from 'filelist-utils';
const zip = readFileSync(join(__dirname, 'test.zip'));
const fileList = fileListFromZip(zip);
FAQs
Create a FileCollection from a path or a zip file
The npm package filelist-utils receives a total of 795 weekly downloads. As such, filelist-utils popularity was classified as not popular.
We found that filelist-utils 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.
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.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.