Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

imageoptmizer-brunch

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imageoptmizer-brunch

Optimize PNG and JPG images with optipng & jpegtran on --optimize

latest
npmnpm
Version
0.0.6
Version published
Maintainers
2
Created
Source

imageoptimizer-brunch

Optimize PNG and JPG images on --optimize with brunch. It either uses jpegtran and optipng or node-smushit to get the best out of your images in your /public folder.

Installation

You can install jpegtran and optipng with homebrew

brew install optipng jpeg

Config

  imageoptimizer:
    smushit: false # if false it use jpegtran and optipng, if set to true it will use smushit
    path: 'images' # your image path within your public folder

Usage

Add "imageoptmizer-brunch": "0.0.4" to package.json of your brunch app.

Pick a plugin version that corresponds to your minor (y) brunch version.

If you want to use git version of plugin, add "imageoptmizer-brunch": "git+ssh://git@github.com:steffenmllr/imageoptmizer-brunch.git"

Keywords

brunch

FAQs

Package last updated on 07 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts