Options
All
  • Public
  • Public/Protected
  • All
Menu

@ezy/webp

WebP

libwebp wrapper for nodejs

License Docs: typedoc GitHub issues Maintainability Dependencies status Dev Dependencies status Made with: typescript Code style: prettier

Install

npm i @ezy/webp

Usage

convert to webp

import { cwebp } from '@ezy/webp';

await cwebp('me.jpg', 'me.webp');

convert from webp

import { dwebp } from '@ezy/webp';

await dwebp('me.webp', 'me.png');

Generated using TypeDoc