New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

compressjs2

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compressjs2

compress js file in directory

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

compress

压缩指定目录下的js或将压缩后的输入到某目录下,非触发式,需要主动调用

usage

npm install compressjs2 -g
compress //压缩当前目录下所有js并替换
compress -d /home/js //压缩目标目录下js并替换
compress -d /home/js -o /home/build //压缩目标目录下js并输出到/home/build目录下
compress -c //美化压缩后的js文件
compress -l //递归循环调用所有目录,否则只有当前级别

License

The MIT License

Keywords

compress

FAQs

Package last updated on 19 Nov 2019

Did you know?

Socket

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.

Install

Related posts