{"name":"cwebp-bin","version":"6.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"},"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","logalot":"^2.1.0"},"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":"63371830b00e9b9f422904b43b2e9ec4a3454d9e","bugs":{"url":"https://github.com/imagemin/cwebp-bin/issues"},"homepage":"https://github.com/imagemin/cwebp-bin#readme","_id":"cwebp-bin@6.1.0","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-xTRcHvaFajDwgcGxlDoPNnQhMP5NeKdsNr6wFQwUZp4ELwfCHLZlv/mLq1FPnA1wB9BUHQfpZVs0iIDi2qkKAQ==","shasum":"61c99759335161fa61d7bd152bc76f475fef673f","tarball":"http://registry-npm.ywwl.com/cwebp-bin/download/cwebp-bin-6.1.0.tgz","fileCount":8,"unpackedSize":4038254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0e3LCRA9TVsSAnZWagAAYQQP/2bPTUmwVmJqm5ZWg9Bo\nB3j6g5wG5B3mTuoqoKjZl9I86s81aBfgGzY7RtTucys7Cq/8Md/x2EiIRPyN\nQtCScCNIZZvY7XOVjQjY+IBY6foueLHgqcU4IkjepKKDEnh56gf1krlaZKDS\n7pz2JrcYLz9GeJluIrEZzq9BhpoK9A9/tbkCYEW3rDczMlr+36aBWEMYyfoy\nr6y7jVYalGB+2LH2M9f38ESceUC8hQSLb+aQIXZkas3wiFi2n2PhRVAd/LML\n8TD8TEt2WxMF1xWU66vYz9mer+63bioFwbp0vtfEwqP+nyNOMswPMNodBp+V\nBX6GvyFtcUicdLuxEDxrjJncNywd6kAtizXTwkLS49qDt8AXoUciD9oSmeZ1\nFc3UWQG1pIXFfPKcsLIhQBI9s8DEIHf6rPxL4S84ADCabt/kFQO0hgWLlSVe\nQmW54S6PQ5Pb7AD5kP8316Xe2aGY3wnlL23GVWHZIxxu/w/gNL7Vcf9lp+1C\nLq/uF/GBo4X7z4MKmj+ASoQ/EIpILr2urW6rCciSJTkYCWFiK6YOObNZXIal\ntmybmG5VpmpZW2AIaADgIjU4A0o5Tv+iwYGVdCVeWKYM5u+3i2qnTVz2LBF6\n6dOvHc5Pfm5sFixmezc6XdZakHEcFwX1OokrNY/eKLMynVYUQqEwgHgX/k8a\nDpl+\r\n=wvS7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZGX5GIRCYH6PgEoWcnRl+9R8NBA1iLkWTW4uGqw3yLQIgcmvpwx1oqETMofcBMVADTo2dwwipND+He2c8PcFqNwk="}],"size":4036974,"noattachment":false,"key":"/cwebp-bin/-/cwebp-bin-6.1.0.tgz"},"maintainers":[{"email":"shogosensui@gmail.com","name":"1000ch"},{"email":"bradbaris@gmail.com","name":"bradbaris"},{"email":"kevinmartensson@gmail.com","name":"kevva"},{"email":"daniel@kinokabaret.com","name":"nothingismagick"},{"email":"snnskwtnb@gmail.com","name":"shinnn"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"},{"email":"xhmikosr@gmail.com","name":"xhmikosr"}],"_npmUser":{"name":"1000ch","email":"shogosensui@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cwebp-bin_6.1.0_1590816202872_0.5763714498395476"},"_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":1590816203063,"_cnpm_publish_time":1590816203063,"dist-tags":{"latest":"8.0.0"}}