@haopeng.li/minify-img

1.1.0 • Public • Published

Install

npm i @haopeng.li/minify-img  

How to use?

const tinify = require("@haopeng.li/minify-img");


// 填入要压缩的目标文件夹相对路径,默认为当前文件夹
tinify('targetPath');

Advantage:

无损压缩 不会重复压缩 已压缩文件会记录,就算改名后也不会无限制的压缩

Readme

Keywords

Package Sidebar

Install

npm i @haopeng.li/minify-img

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

4.74 kB

Total Files

3

Last publish

Collaborators

  • haopeng.li