FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

kkannan-carecloud/node-imageoptim-api: ImageOptim HTTP API interface for Node.js® · GitHub

 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageOptim MozJPEG HTTP API client

A Node interface for https://imageoptim.com/mozjpeg/ compressor.

It (re)compresses local PNG and JPEG files using MozJPEG encoder without needing any binaries installed on the local machine.

const ImageOptim = require('imageoptim-api');

const im = new ImageOptim();

im.compress()
    .file('source_image.png')
    .save('dest_image.jpg')
    .then(() => {
        console.log("Done! ./dest_image.jpg has been written");
    });

About

ImageOptim HTTP API interface for Node.js®

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL