🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

tinyjpg

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinyjpg - npm Package Compare versions

Comparing version

to
1.0.4

2

package.json
{
"name": "tinyjpg",
"version": "1.0.3",
"version": "1.0.4",
"description": "compress images by tinypng api",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,1 +0,61 @@

tinyjpg
# Tinyjpg
## 1. config setting:
> set api key
``` shell
$ tinyjpg config add key <api key>
```
> reset api key
``` shell
$ tinyjpg config remove key
```
> add ignore folder
``` shell
$ tinyjpg config add ignore <folder>
```
> remove ignore folder
``` shell
$ tinyjpg config remove ignore <folder>
```
> get config list
``` shell
$ tinyjpg config list
```
## 2. compress image:
> compress file
``` shell
$ tinyjpg compress <filename>
```
> compress all images of dir
``` shell
$ tinyjpg compress <dir>
```
> compress all images of dir and output
``` shell
$ tinyjpg compress <dir> <output>
```