Socket
Socket
Sign inDemoInstall

shrink-pic

Package Overview
Dependencies
12
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    shrink-pic

Command line tool which compress the .png and .jpg images.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

shrink-pic

Command line tool which compress the .png and .jpg images. It uses https://tinypng.com/ API to compress your images.

Module Usage

Install

 npm install shrink-pic -g

Visit: https://tinypng.com/developers and get you API key generated.

shrink-pic -k <your-secret-key>

This command will save your key and will use this key to compress your images. You can update the KEY by just run this same command again with new 'KEY'.

Usage: shrink-pic [ -d destinationFolder ] [ -k SedasdeEEW1231asd213 ] -s sourceFolder

Options:

-h, --help                                      output usage information
-V, --version                                   output the version number
-s, --source <source-directory-path>            mention the source directory path.
-d, --destination <destination-directory-path>  mention destination directory path.
-k, --apikey <api-key-save>                     mention api key to save or renew.

Keywords

FAQs

Last updated on 22 Oct 2016

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