1.1.2 • Published 2 years ago

tinify-compress-anywhere v1.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

tinify-compress-anywhere

NPM Version NPM Downloads Install Size

Read this in other languages: English | 简体中文

Introduction

compress image files from anywhere to anywhere with tinify plugin(document address)

Installation

npm install tinify-compress-anywhere -g

Check Version

check tci plugin version

tci -V

Set Key

set apiKey of what is Authentication to the API is done with HTTP Basic Auth of tinify. fetch address

Register and log in to an account through your email first

login

After logging in, click on the user name to enter the personal homepage

home

Click the API menu in the sidebar to go to Create or Copy APIKey

api

after then, set the API key to your tci plugin

tci setKey apiKey

setKey

Get Count

Get info about how much images the API key already optimized this month.

tci count

getCount

compress images

use tinify to compress your images.

simple compress, default source name is ./source, default output name is ./output

tci

use relative path

tci -s ./source -o ./output

use absolute path

tci -s E:\tinify-compress-anywhere\source -o E:\tinify-compress-anywhere\output

cover current path file, just use the same path

tci -s ./source -o ./source

before the compression, copy the origin files to copyPath

tci -s ./source -o ./source -c ./copy

compress results

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago