npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

gif2webp-bin

5.0.0

@1000ch

npmHomeRepoSnykSocket
Downloads:670989
$ npm install gif2webp-bin
DailyWeeklyMonthlyYearly

gif2webp-bin GitHub Actions Status

WebP is a modern image format that provides superior lossless and lossy compression for images on the web. Using WebP, webmasters and web developers can create smaller, richer images that make the web faster.

Install

$ npm install --save gif2webp-bin

Usage

import {execFile} from 'node:child_process';
import gif2webp from 'gif2webp-bin';

execFile(gif2webp, ['input.gif', '-o', 'outout.webp'], () => {
	console.log('Image converted!');
});

CLI

$ npm install --global gif2webp-bin
$ gif2webp --help