Skip to content

AnthonyAstige/metalsmith-optipng

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Metalsmith wrapper for optipng

Example use

npm i metalsmith-optipng --save
const optipng = require('metalsmith-optipng')
Metalsmith(__dirname)
	...
	.use(optipng({
		pattern: '**/*.png'
		options: ['-o7']
	})
	...

Parameters

  • pattern is relative to your source and uses multimatch / glob to choose which files to apply to
  • options are passed along to optipng

About

Metalsmith wrapper for optipng

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published