
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
用于CSS文件,JS文件和HTML文件夹的批量压缩工具
Node.js 0.10.0+ (tested on CentOS, Ubuntu, OS X 10.6+, and Windows 7+)
npm install xcompress
node xcompress [options]
-h, --help 获得帮助
-v, --version 输出版本号
-c, --comment 输出的js和css文件将会保留源码的第一对/* ... */之间的注释
即可打包位于根目录下的项目文件
在当前目录执行node xcompress后,红框处文件夹内的所有后缀为css,js,html(or htm)的文件将被压缩引擎处理并发布到./dest目录中,图片以及其他静态文件将被原样输出。
FAQs
打包压缩js,css,html等一键解决方案
We found that xcompress 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.