{"name":"cwebp-bin","version":"6.1.2","description":"cwebp wrapper that makes it seamlessly available as a local dependency","license":"MIT","repository":{"type":"git","url":"git+https://github.com/imagemin/cwebp-bin.git"},"funding":"https://github.com/imagemin/cwebp-bin?sponsor=1","bin":{"cwebp":"cli.js"},"engines":{"node":">=10"},"scripts":{"postinstall":"node lib/install.js","test":"xo && ava --timeout=120s"},"keywords":["imagemin","compress","image","img","jpeg","jpg","minify","optimize","png","webp"],"dependencies":{"bin-build":"^3.0.0","bin-wrapper":"^4.0.1"},"devDependencies":{"ava":"^3.8.0","bin-check":"^4.1.0","compare-size":"^3.0.0","execa":"^1.0.0","tempy":"^0.5.0","xo":"^0.30.0"},"gitHead":"2aa3a041f6f76eb1654bb7fd1a0a2861946fa247","bugs":{"url":"https://github.com/imagemin/cwebp-bin/issues"},"homepage":"https://github.com/imagemin/cwebp-bin#readme","_id":"cwebp-bin@6.1.2","_nodeVersion":"16.4.1","_npmVersion":"7.21.0","dist":{"integrity":"sha512-NLEZ/BVAl9g426hwUX/qrQ7b/EfQH7BS1tr+CzPo2EgDQbcdzmUVE+fIfsi64lsL638lWgzTEViMAL4pxV1GOg==","shasum":"50e90249e0df8c3d95ce8b1cc28d7cd86153005b","tarball":"http://registry-npm.ywwl.com/cwebp-bin/download/cwebp-bin-6.1.2.tgz","fileCount":8,"unpackedSize":4038258,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFEUt7PKGP35V4zb/KQJQ5bJIAScGzL4g7hmSg7xiCi3AiEAvcpX/LFbRHJYsFbL3mAeeSRN+J5SqTkGWl+YKGEh7iw="}],"size":4036951,"noattachment":false,"key":"/cwebp-bin/-/cwebp-bin-6.1.2.tgz"},"_npmUser":{"name":"1000ch","email":"shogosensui@gmail.com"},"directories":{},"maintainers":[{"name":"nothingismagick","email":"denjell@sfosc.org"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"shinnn","email":"snnskwtnb@gmail.com"},{"name":"1000ch","email":"shogosensui@gmail.com"},{"name":"bradbaris","email":"bradbaris@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cwebp-bin_6.1.2_1634733845787_0.1737848415586143"},"_hasShrinkwrap":false,"readme":"# cwebp-bin ![GitHub Actions Status](https://github.com/imagemin/cwebp-bin/workflows/test/badge.svg?branch=main)\n\n> [WebP](https://developers.google.com/speed/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.\n\nYou probably want [`imagemin-webp`](https://github.com/imagemin/imagemin-webp) instead.\n\n\n## Install\n\n```\n$ npm install cwebp-bin\n```\n\n\n## Usage\n\n```js\nimport {execFile} from 'node:child_process';\nimport cwebp from 'cwebp-bin';\n\nexecFile(cwebp, ['input.png', '-o', 'output.webp'], err => {\n\tif (err) {\n\t\tthrow err;\n\t}\n\n\tconsole.log('Image is converted!');\n});\n```\n\n\n## CLI\n\n```\n$ npm install --global cwebp-bin\n```\n\n```\n$ cwebp --help\n```\n\n\n## License\n\nMIT © [Imagemin](https://github.com/imagemin)\n","publish_time":1634733846021,"_cnpm_publish_time":1634733846021,"dist-tags":{"latest":"8.0.0"}}