https://github.com/feflow/feflow-plugin-pic-optimize
Compress images plugin
https://github.com/feflow/feflow-plugin-pic-optimize
Last synced: about 1 year ago
JSON representation
Compress images plugin
- Host: GitHub
- URL: https://github.com/feflow/feflow-plugin-pic-optimize
- Owner: feflow
- License: mit
- Created: 2019-01-29T07:13:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-16T05:06:34.000Z (about 7 years ago)
- Last Synced: 2025-04-02T02:05:19.565Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 48.8 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# feflow-plugin-pic-optimize
This is a Feflow plugin. The principle is to use the open source compression tools pngquant, pngcrush, optipng to serially compress and optimize an image.
## Features
- ✅ Automatically traverse all image files in the src directory.
- ✅ Support `png` `jpg` `gif` `svg` .
## Installation
You need to install [`feflow`](https://github.com/feflow/feflow) first.
```sh
$ npm install feflow-cli -g
```
Then install feflow-plugin-pic-optimize
```sh
$ feflow install feflow-plugin-pic-optimize
```
## Usage
```sh
$ feflow upic
```
## Changelog
[Changelog](CHANGELOG.md)
## License
[MIT](https://tldrlegal.com/license/mit-license).