@ssthouse/image-compresser

1.2.0 • Public • Published

Cli image compress tool powered with Tinyjpg

How to use

  1. 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
  1. 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

  1. After that, fill in your api-key with:
img-compress init -key _your_personal_api_key_
  1. That's it, you can start compress your images with one simple cmd:
img-compress ./test.png

Readme

Keywords

none

Package Sidebar

Install

npm i @ssthouse/image-compresser

Weekly Downloads

2

Version

1.2.0

License

ISC

Unpacked Size

5.94 kB

Total Files

7

Last publish

Collaborators

  • ssthouse