Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.