3.0.0 • Published 9 years ago

image-optim v3.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

Cross platform nodejs wrapper for optipng and jpegtran

####Supported Platforms

  • Windows
  • Mac
  • Linux

####Installation

npm install image-optim

####Usage

import optimizer from 'image-optim';

optimizer.optimize('path/to/image.png')
	.then(()=> {
		console.log('Successfully optimized image.')
	})
	.catch((err)=> {
		console.log('Failed to optimize image', err);
	})

jpeg/jpg files are optimized with jpegtran and png files are optimized with optipng.

####License MIT

3.0.0

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.0

9 years ago

0.3.0

10 years ago

0.2.1

10 years ago

0.1.0

11 years ago