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

gemini-optipng

Package Overview
Dependencies
Maintainers
6
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

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

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

gemini-optipng

NPM version Build Status Coverage Status Dependency Status

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 29 Nov 2018

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