metalsmith-optipng

0.0.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i metalsmith-optipng

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • anthonyastige