2.0.3 • Published 6 years ago

tinypnga v2.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 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

6 years ago

2.0.1

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago