{"name":"cwebp-bin","version":"7.0.1","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":"^12.20.0 || ^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":"^3.15.0","bin-check":"^4.1.0","compare-size":"^3.0.0","execa":"^5.1.1","tempy":"^2.0.0","xo":"^0.45.0"},"gitHead":"b30e17648c3be65c797cb04b40f20fd5ae99c278","bugs":{"url":"https://github.com/imagemin/cwebp-bin/issues"},"homepage":"https://github.com/imagemin/cwebp-bin#readme","_id":"cwebp-bin@7.0.1","_nodeVersion":"16.12.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-Ko5ADY74/dbfd8xG0+f+MUP9UKjCe1TG4ehpW0E5y4YlPdwDJlGrSzSR4/Yonxpm9QmZE1RratkIxFlKeyo3FA==","shasum":"cb1303bf43f645ba5b2ece342773c4a93574d4f4","tarball":"http://registry-npm.ywwl.com/cwebp-bin/download/cwebp-bin-7.0.1.tgz","fileCount":8,"unpackedSize":4105466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2nfUCRA9TVsSAnZWagAAUAIP/2tx2PQFVbU4pCOGMCdw\nyWahzqQoT5Zm8ynwNc7mLcAdFGsU75Z08oV/jfU1AajCLUPVGnZ5RKpnlebt\n2/WRvcqDsoTpOAtZzLjSrjKvLXJpSA2EcUZN0pW1CNTVWbJY7kAh37oH5mLI\n6tvR0+Q3M+lvMU+aD7MvW5GRbIyDmTFb5OaqEdrmLL9arseuhaD4agy1zgZx\nwEg8FsWtg7zHmibICZPeD8WwIQjtkqdlWgsxNmENlW+MLp/NJFtrBuCw8htp\nyVK/2BRdveYm4R/WhfhLff0uO8E4Q6uggxinmH+tU2tVkTbkrLttCriDSTn+\nWkYYlckC9iEqI6Y7prfGqiPG88IZZ1Xj0tWeeuhEFoPsPtEyeSbiHvCKZmlK\n8p6rjjZkm1UdTf0LkH6KMnFfHmf+36Xv59eQ3VDVS/29kBxfKIMvTdSY4d2j\nuEHdh6bVq/2LDGA6JI9FP4XYQCrM9UHHU7cQujMT5/d7uSNCKltl7p9jIOuC\nSa00YxCumq8AWsF8wxmJMaSARWKQDFhZnXGKiED5Ez2AC9y8GcWYYFfx3H1b\nvR9ICqUDhUCuZ1BpKqHfpxguofdChyb4V1SDXxLaXeLxX6GCaIyga1kNNMSp\nABJX93ME6Phe49WpvrgNjtBxv6FJw9AYhpuWmb9PzQbHRx3UREAj5oO2gqfw\nRRks\r\n=lKbX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRSOWl1p3WlSuoV4OtyS/DPiLhLtn6Ev/O17sFEvIPeAiEAj7RV0xBCvNSv1sxcwwXACty7oLKPzi/wodiA4oJtYhE="}],"size":4104113,"noattachment":false,"key":"/cwebp-bin/-/cwebp-bin-7.0.1.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_7.0.1_1636523124438_0.9725453087180753"},"_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":1636523124687,"_cnpm_publish_time":1636523124687,"dist-tags":{"latest":"8.0.0"}}