【99个狗头】压死雷,惊雷那天塌地陷紫金锤,紫

yasla(Compression Killed!)

Multi-function compression tool

yasla(Compression Killed!) yasla Why? Feature list Used to introduce Installation guide Method of use See the effect Quick use Code warehouse Community communication Thanks for the following yasla Why?

yasla,When you need to compress, you can try it.
Install ME, ALL copy down, who use WHO COOL [DOG HEAD to save life], interactive operation, very simple.

Support:

[[√]] images:Mainstream Image Formats

[[x]] music: Mainstream Music formats

[[x]] video: Mainstream Video Formats

[[x]] code: Mainstream Code format

[[x]] file: Mainstream File format

Light weight: ES6 object-oriented code writing, good extensibility, vitest unit testing and typescript support will be added later.

Strong:Interactive operation, can be used globally as a command line tool, also can be used as a third party dependency package.

Good:Support a variety of resource formats, real-time synchronous compression, compression effect is good。

️ Simplicity: With fine-grained apis and coarse-grained apis, the command line is much simpler.

nodejs npm size
> 12.0 > 6.0 ignore
Feature list

The program can run on both Windows and UnUX-like computers:

api result
yasla Open the help document for the Yasla program
yasla img inputPath outputPath Compress the images in the specified directory to the target directory and listen to the specified directory in real time
yasla img inputPath outputPath -once Compresses the images in the specified directory to the destination directory, only once
... Follow-up functions to be done and optimized
Used to introduce Installation guide

Global installation, used as a command line tool:

npm install -g yasla

Install as a third party dependency(TODO):

npm install yasla Method of use

To use globally (use after global installation), enter the following commands line by line in the command line tool:

cd target-directory yasla

For partial use (as a third party dependency package), copy and paste the following code in the JS file in the Node environment:

// TODO See the effect

Quick use

install->use

Code warehouse

github link

Community communication

If you have any questions, you can raise them in the Github issue. If you are interested, you can also add wechat to communicate:

Thanks for the following

Thank you very much

Tool:

boxen chalk chokidar commander fast-glob figlet file-type fs-extra inquirer listr package-json pkg-types semver typescript unconfig vitest bumpp @antfu/eslint-config @changesets/cli

Warehouse:

Simon-He95/tiny-tinify-compress minjs1cn/any-tiny sudongyuer/easy-tinypng-cli

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。