
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
@benev/batch
Advanced tools
command line tool for converting batches of media files (sound, video, etc)
Supply Chain Security
Vulnerability
Quality
Maintenance
License
@benev/batch
command-line tool for compressing media files in bulk.
npx @benev/batch --help
npx @benev/batch images webp --help
take all the image files from src/
directory, and then emit compressed webp files into dist/
:
npx @benev/batch images webp --in="src" --out="dist" --quality="80"
of course, this is recursive, the directory structure for each file will be maintained in the output.
read the --help
pages for more info.
build
script in your package.json
, where you run typescript or whatever
src
directory with your "source code"dist
directory with your "build artifacts"@benev/batch
step in your build process to compress all your media files down to the shippable versionsnpm i --save-dev @benev/batch
batch
:
"scripts": {
"build": "batch images webp --in=src --out=dist --quality=80"
},
npm run build
you'll get all these nice webp images under your dist
directoryFAQs
command line tool for converting batches of media files (sound, video, etc)
The npm package @benev/batch receives a total of 1 weekly downloads. As such, @benev/batch popularity was classified as not popular.
We found that @benev/batch 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 how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.