Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
beez-optim makes specify images optimize automatically in build process.
特定のディレクトリを指定して、optipng
jpegoptim
pngquant
を実行し画像を圧縮するコマンドです。
拡張子
.png
.jpg
.jpeg
で画像判定します。
$ npm install -g beez-optim
$ npm test
-c
--config
json data
{
"optipng": {
"use": true,
"level": 3
},
"jpegoptim": {
"use": true,
"options": "--strip-all"
},
pngquant: {
use: false,
options: "--ext .png -f -v"
}
}
$ beez-optim -h
Usage: beez-optim [options]
Options:
-h, --help output usage information
-p --limit <limit> process limit default=10
-s --srcdir <srcdir> Source directory root path.
-c --config <config> configuration file.
example config data:
{
"optipng": {
"use": true,
"level": 2
},
"jpegoptim": {
"use": true,
"options": '--strip-all'
},
"pngquant": {
"use": false,
"options": "--ext .png -f -v"
}
}
-l --loglevel <loglevel> Log level. default) INFO
DEBUG: 1
INFO: 2
WARN: 3
ERROR: 4
FATAL: 5
$ beez-optim -s /tmp/image
$ beez-optim -s /tmp/image -c ./config.json -l 1
The MIT License (MIT)
@see : LICENSE
FAQs
beez-optim makes specify images optimize automatically in build process.
The npm package beez-optim receives a total of 1 weekly downloads. As such, beez-optim popularity was classified as not popular.
We found that beez-optim 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.