收集一些前端用的命令行工具

YUI Compressor [压缩]

http://developer.yahoo.com/yui/compressor/

java -jar yuicompressor-x.y.z.jar myfile.js -o myfile-min.js --charset utf-8

CSSTidy [格式化]

http://csstidy.sourceforge.net/download.php

csstidy mycssfile.css myoutputfile.css

pngout [图片压缩格式转换]

http://www.advsys.net/ken/util/pngout.htm

pngout a.gif b.png

optipng

http://optipng.sourceforge.net/

PngOptimizer

http://psydk.org/PngOptimizer.php

pngquant

http://www.libpng.org/pub/png/apps/pngquant.html

http://jedisthlm.com/2004/10/13/gui-for-pngquant/

jpegtran

http://sylvana.net/jpegcrop/jpegtran/

jpegtran.exe inputfile.jpg outputfile.jpg

转载于:https://www.cnblogs.com/greengnn/archive/2011/02/12/1952752.html

你可能感兴趣的:(收集一些前端用的命令行工具)