Socket
Socket
Sign inDemoInstall

@ssthouse/image-compresser

Package Overview
Dependencies
59
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ssthouse/image-compresser

### How to use


Version published
Maintainers
1
Install size
5.60 MB
Created

Readme

Source

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

FAQs

Last updated on 01 Jun 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc