{"name":"cwebp-bin","version":"3.1.0","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"},"author":{"name":"1000ch","email":"shogo.sensui@gmail.com","url":"http://github.com/1000ch"},"engines":{"node":">=0.10.0"},"bin":{"cwebp":"cli.js"},"scripts":{"postinstall":"node lib/install.js","test":"xo && mkdir -p test/tmp && node test/test.js && rm -rf test/tmp"},"files":["cli.js","index.js","lib"],"keywords":["compress","image","img","jpeg","jpg","minify","optimize","png","webp"],"dependencies":{"bin-build":"^2.0.0","bin-wrapper":"^3.0.1","logalot":"^2.0.0"},"devDependencies":{"ava":"^0.0.4","bin-check":"^1.0.0","compare-size":"^1.0.1","path-exists":"^1.0.0","xo":"^0.12.1"},"gitHead":"3f6c64ae4a292f928327fed7004ccfb0968dc296","bugs":{"url":"https://github.com/imagemin/cwebp-bin/issues"},"homepage":"https://github.com/imagemin/cwebp-bin#readme","_id":"cwebp-bin@3.1.0","_shasum":"90e92def38b7ea86ef5ee1a9b71ef9229a4ca6fc","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"1000ch","email":"shogo.sensui@gmail.com"},{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"shinnn","email":"snnskwtnb@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"90e92def38b7ea86ef5ee1a9b71ef9229a4ca6fc","tarball":"http://registry-npm.ywwl.com/cwebp-bin/download/cwebp-bin-3.1.0.tgz","integrity":"sha512-/FsPWToU/UtK6D1jTuTOWDyfXAhkS7OYtmQ7lmg+z7oxiyovL9+pZxViQ2hYmr5ndIrhfsA14byxdEDM02VwzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqdgcSilex83KAfJJ8ibLz2gI+T1P9NVKmvYePeb+0FAiBESYkMMhDKoJRPqObUS0SbohzF53tny4oP6iqae29TNA=="}],"size":2471,"noattachment":false,"key":"/cwebp-bin/-/cwebp-bin-3.1.0.tgz"},"directories":{},"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":1454245627987,"_cnpm_publish_time":1454245627987,"dist-tags":{"latest":"8.0.0"}}