@ssthouse/image-compresser
v1.2.0
Published
### How to use
Downloads
2
Readme
Cli image compress tool powered with Tinyjpg
How to use
- First install this node cli tool with: (note: you need have node installed first, if not, please check: node.js)
npm install -g image-compresser
- To use this cli tool, you wil need a developer-key from tinyjpg.(free with 500 times per month)
please check this page to get your key: https://tinyjpg.com/developers
- After that, fill in your api-key with:
img-compress init -key _your_personal_api_key_
- That's it, you can start compress your images with one simple cmd:
img-compress ./test.png