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

imagemin-pngout

Package Overview
Dependencies
Maintainers
7
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imagemin-pngout

pngout imagemin plugin

latest
Source
npmnpm
Version
5.0.0
Version published
Weekly downloads
62K
-10.16%
Maintainers
7
Weekly downloads
 
Created
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

compress

FAQs

Package last updated on 02 Jun 2020

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