Socket
Socket
Sign inDemoInstall

@mole-inc/cwebp-bin

Package Overview
Dependencies
139
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mole-inc/cwebp-bin

cwebp wrapper that makes it seamlessly


Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

9.0.5 (2022-03-01)

Bug Fixes

  • fix install script (a0962b7)
  • fix install script (66f6171)
  • fix install script (866ee8a)
  • fix version (bc1bfc7)

Readme

Source

cwebp-bin Node CI

WebP is a new image format that provides lossless and lossy compression for images on the web. WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller in size compared to JPEG images at equivalent SSIM index.

You probably want imagemin-webp instead.

Downloads Version codecov

Install

$ npm install @mole-inc/cwebp-bin

Usage

import {execFile} from 'child_process';
import {cwebpBin} from '@mole-inc/cwebp-bin';

execFile(cwebpBin.path, ['input.png', '-o', 'output.webp'], err => {
	if (err) {
		throw err;
	}

	console.log('Image is converted!');
});

CLI

$ npm install --global @mole-inc/cwebp-bin
$ cwebp --help

License

This is a fork of imagemin/cwebp-bin licensed under the MIT License.

see license file and vendor/cwebp-license.txt file.

Keywords

FAQs

Last updated on 01 Mar 2022

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