2.0.3 • Published 4 years ago

tinypnga v2.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Tinypnga

Optimize your images with Tinypng API. Return Promise!

NPM

Usage

const tinypnga=require('tinypnga')

tinypnga.tinypnga(token,urlarray)
.then((res)=>{
    //res = [yourimagebuffer1,yourimagebuffer2,...]
})

Input

token

Type: String

Your tinypng api token

urlarray

Type: Array [String1, String2,...]

An array contain your images' urls

Return

Promise!

Type: Array [Buffer1, Buffer2,...]

2.0.3

4 years ago

2.0.1

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago