Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@benev/batch
Advanced tools
command line tool for converting batches of media files (sound, video, etc)
@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)
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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.