Node.js client for the Tinify API.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Build Status

Tinify API client for Node.js

Node.js client for the Tinify API, used for TinyPNG and TinyJPG. Tinify compresses your images intelligently. Read more at


Go to the documentation for the Node.js client.


Install the API client:

npm install tinify

Or add this to your package.json:

  "dependencies": {
    "tinify": "*"


const tinify = require("tinify");
tinify.key = "YOUR_API_KEY";


Running tests

npm install
npm test

Integration tests

npm install
TINIFY_KEY=$YOUR_API_KEY npm run integration


This software is licensed under the MIT License. View the license.