
Research
/Security News
Compromised npm Packages in the AsyncAPI Namespace Deliver Miasma Botnet Loader
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.
node-oojs-tool
Advanced tools
#oojs-tool oojs命令行工具, 可以用于js, css文件的 代码格式化, 代码压缩, gzip压缩等.
##安装
##使用
js文件工具:
oojs js a.js //进行js代码压缩, 输出 a.compress.js
oojs js a.js -o b.js //进行js代码压缩, 输出 b.js
oojs js a.js -format //进行js代码格式化, 输出 a.format.js
oojs js a.js -format -o b.js //进行js代码格式化, 输出 b.js
css文件工具:
oojs css a.css //进行css代码压缩, 输出 a.compress.css
oojs css a.css -o b.css //进行css代码压缩, 输出 b.css
oojs css a.css -format //进行css代码格式化, 输出 a.format.css
oojs css a.css -format -o b.css //进行css代码格式化, 输出 b.css
gzip工具:
oojs gzip a.js //进行gzip压缩, 输出 a.js.gz
oojs gzip a.js -o b.js //进行gzip压缩, 输出 b.js
oojs gzip a.js -c 5 //进行gzip压缩, 输出 a.js.gz, 压缩等级为5. 默认值为9(最高压缩率)
智能工具, 自动判断文件类型, 同时输出代码压缩文件, 代码格式化文件和gzip文件:
oojs smart a.js //输出: a.compress.js, a.format.js, a.js.gz
oojs smart a.css //输出: a.compress.css, a.format.css, a.css.gz
FAQs
the tool for web development. Gzip/Compress js , css, etc...
The npm package node-oojs-tool receives a total of 12 weekly downloads. As such, node-oojs-tool popularity was classified as not popular.
We found that node-oojs-tool 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.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.