Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gemini-optipng

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gemini-optipng

Plugin for gemini which optimize reference images

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

gemini-optipng

Plugin optimizes reference images at the time of their update via gemini update command. It uses optipng and optimizes the image only if it has been changed.

Installation

$ npm install gemini-optipng

Configuration

  • level (optional) Optimization level from 0 to 7. Defaults to 2. Description of optimization levels in the manual.

Set the configuration to your .gemini.yml:

system:
  plugins:
    gemini-optipng:
      level: 7

If you want set default level optimization use this config:

system:
  plugins:
    gemini-optipng: true

Debug mode

To turn on debug mode set DEBUG=gemini:optipng enviroment variable:

$ DEBUG=gemini:optipng ./node_modules/.bin/gemini update

Console output:

✓ path/to/suite stateName [browserId]
gemini:optipng path/to/reference/image.png compressed by 30%

Keywords

FAQs

Package last updated on 25 Aug 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc