@io-arc/webp-converter
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@io-arc/webp-converter

PNG, JPG, GIF files to Webp files conversions.
What's Webp?

Using to imagemin.
PNG, JPG is imagemin-webp.
GIF is imagemin-imagemin-gif2webp.

See the documents.

Install

$ npm i -D @io-arc/webp-converter

Usage

import WebpConverter from '@io-arc/webp-converter'

const webp = new WebpConverter(
  ['src', 'img'],
  { png: true, jpg: true, gif: true },
  { quality: 75 },
  { lossy: true },
  ['dist', 'img']
)

More documents.

Readme

Keywords

Package Sidebar

Install

npm i @io-arc/webp-converter

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

7.14 kB

Total Files

5

Last publish

Collaborators

  • arcone