{"name":"cwebp-bin","version":"8.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"},"type":"module","exports":"./index.js","funding":"https://github.com/imagemin/cwebp-bin?sponsor=1","bin":{"cwebp":"cli.js"},"engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"postinstall":"node lib/install.js","test":"xo && ava --timeout=180s"},"keywords":["imagemin","compress","image","img","jpeg","jpg","minify","optimize","png","webp"],"dependencies":{"bin-build":"^3.0.0","bin-wrapper":"^4.0.1"},"devDependencies":{"ava":"^4.2.0","bin-check":"^4.1.0","compare-size":"^3.0.0","execa":"^6.1.0","tempy":"^3.0.0","xo":"^0.48.0"},"gitHead":"91dfc0009418539cb2dbdc90a10830c4c5e84028","bugs":{"url":"https://github.com/imagemin/cwebp-bin/issues"},"homepage":"https://github.com/imagemin/cwebp-bin#readme","_id":"cwebp-bin@8.0.0","_nodeVersion":"16.13.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-j2s6jA84aG20lB0i/FBwqZGc8nHx4VASUK8OTDxy3xoUHoX/+pP6T15/TnWwhMcD0pZ05y5GgRPkurufOC8tnQ==","shasum":"00fac9a3778fd6d27df4d52fedbe2d895de14223","tarball":"http://registry-npm.ywwl.com/cwebp-bin/download/cwebp-bin-8.0.0.tgz","fileCount":8,"unpackedSize":4105453,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYv6JY2YOddM8/Ne/YFJnwFoOUTrkXtkuPExZxSFzwcwIgPS9b+Uek5spOg3vDeNANmtK7Ix/xYu9VQOzHhA84Fi0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidRcHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoD7xAAgOtGVZE6m6OTeD7YOJ/m4J8204isWwgXbvBf5/VGC4rhj/nF\r\nct9Y6kctQA1epEERnueQhwkWsQqvOI4wXxW3Iw95GZQ+PiEbNRsAF40qOeJt\r\neIRqpGYVf6GkL/mO/gFEkQBrds7HxlaSledv8RPG8k4oghdJYb45R/yLs/1X\r\nTwQ7tf9TzMqPl5jfSWuRH7Pqlq8z2Y6p27JpC/x8M9AM0edpWHdBZaeXwD0H\r\nw2BVrNsHLxPIEI+CVD5icsP6DX2uIccnplWWkXYUpwQQe5U1aJ0iJ05amNK3\r\nwyEBPpbbh7E/p6J5Y4mYC+9v8E+AFlvkW5I8z+GLu5KJVSqzd4V5d/a2exsS\r\nttPxXTmTn1/iHmyZ2aWUdLkPugQOqVyN8PsN5bG+6AYVPP6iMM42y42fmSDr\r\njkmhshEksGLsE8LsgCibbNOeFOocMaZlE0hmo7tXDNwQ0ZwYaHrIJnoqYTmp\r\nqqbArAcyThi6ES0r8HPCXGfL2WHg47TMXdwZOUDuk7nM2hBLgP+FuspamgRA\r\nR2I5ioArCAa7h9TrME16qWJ8M9WAo8y8HV7yUiZKHVuKq7uQAfufqt+/qWyG\r\nYwEZZb9GYFmdoCBHEGq2ccxkaPgk9D35uGnLgyQm9FUIA1hq7fqyZpOrxHIN\r\nnNTpRJZb62AiAzWQRCPEof6s82DAB4SqG4o=\r\n=VxSH\r\n-----END PGP SIGNATURE-----\r\n","size":4104098,"noattachment":false,"key":"/cwebp-bin/-/cwebp-bin-8.0.0.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":"1000ch","email":"shogosensui@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"},{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cwebp-bin_8.0.0_1651840775152_0.9597471015987784"},"_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":1651840775442,"_cnpm_publish_time":1651840775442,"dist-tags":{"latest":"8.0.0"}}