Skip to content

ImageOptim/node-imageoptim-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

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.

constImageOptim=require('imageoptim-api');constim=newImageOptim();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®

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published