Socket
Socket
Sign inDemoInstall

imagemin-pngout

Package Overview
Dependencies
186
Maintainers
7
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    imagemin-pngout

pngout imagemin plugin


Version published
Weekly downloads
72K
decreased by-7.81%
Maintainers
7
Install size
5.01 MB
Created
Weekly downloads
 

Readme

Source

imagemin-pngout Build Status

pngout imagemin plugin

Install

$ npm install imagemin-pngout

Usage

const imagemin = require('imagemin');
const imageminPngout = require('imagemin-pngout');

(async () => {
	await imagemin(['images/*.png'], {
		destination: 'build/images',
		plugins: [
			imageminPngout()
		]
	});

	console.log('Images optimized');
})();

API

imageminPngout([options])(buffer)

Returns a Promise<Buffer>.

options

Type: Object

strategy

Type: number
Default: 0

Select a strategy level between 0 and 4:

0. Extreme 1. Intense 2. Longest match 3. Huffman only 4. Uncompressed

License

MIT © Imagemin

Keywords

FAQs

Last updated on 02 Jun 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc