{"name":"cwebp-bin","version":"4.0.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":"github.com/1000ch"},"maintainers":[{"name":"1000ch","email":"shogo.sensui@gmail.com"},{"name":"bradbaris","email":"bradbaris@gmail.com"},{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"shinnn","email":"snnskwtnb@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"bin":{"cwebp":"cli.js"},"engines":{"node":">=4"},"scripts":{"postinstall":"node lib/install.js","test":"xo && ava"},"files":["cli.js","index.js","lib"],"keywords":["imagemin","compress","image","img","jpeg","jpg","minify","optimize","png","webp"],"dependencies":{"bin-build":"^2.2.0","bin-wrapper":"^3.0.1","logalot":"^2.0.0"},"devDependencies":{"ava":"*","bin-check":"^4.0.1","compare-size":"^3.0.0","execa":"^0.8.0","tempy":"^0.2.1","xo":"*"},"gitHead":"b488cedd571c20d27441b646b4f5585af9ef1466","bugs":{"url":"https://github.com/imagemin/cwebp-bin/issues"},"homepage":"https://github.com/imagemin/cwebp-bin#readme","_id":"cwebp-bin@4.0.0","_shasum":"ee2b7f6333d3426fb52bb405fa6f2ec8b62894f4","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ee2b7f6333d3426fb52bb405fa6f2ec8b62894f4","tarball":"http://registry-npm.ywwl.com/cwebp-bin/download/cwebp-bin-4.0.0.tgz","integrity":"sha512-l6iUUmTb9Rv2FqW0ViKW7ARn6yOVLuos5WAeCqvSBjQQCnXwvedaiIxpLdzVIxjLbLEyhd/AOOikl8ciH9drRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjrpMCzVyBZ3Zm+Pfh1ynvOvt3BuG0ck2b5Zx6n53c4AiEAnYQSu+lrhH+wmiPjZGZZyicNzO5oLludwc7vRReNS2s="}],"size":2552,"noattachment":false,"key":"/cwebp-bin/-/cwebp-bin-4.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cwebp-bin-4.0.0.tgz_1514376549608_0.17907352512702346"},"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":1514376550690,"_cnpm_publish_time":1514376550690,"dist-tags":{"latest":"8.0.0"}}