{"name":"cwebp-bin","version":"5.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":[{"email":"shogo.sensui@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"}],"bin":{"cwebp":"cli.js"},"engines":{"node":">=6"},"scripts":{"postinstall":"node lib/install.js","test":"xo && ava"},"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":"*","bin-check":"^4.1.0","compare-size":"^3.0.0","execa":"^1.0.0","tempy":"^0.2.1","xo":"*"},"gitHead":"94dc534c7f069cbc91bc86787bd830568c89521a","bugs":{"url":"https://github.com/imagemin/cwebp-bin/issues"},"homepage":"https://github.com/imagemin/cwebp-bin#readme","_id":"cwebp-bin@5.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"1000ch","email":"shogosensui@gmail.com"},"dist":{"integrity":"sha512-7//DAQG0yFr+YGrQ0of50sPlPm+8mIRv1TGxXtlOeq1S0Y56iY2lHlX/aLz+AOTWH/2YVNthNtH97pxRl7q33A==","shasum":"3d408f30ada69bc45b4306e88b50c382ba01a9b6","tarball":"http://registry-npm.ywwl.com/cwebp-bin/download/cwebp-bin-5.0.0.tgz","fileCount":7,"unpackedSize":4768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcATAiCRA9TVsSAnZWagAAwi8QAJhUuE34q3nwAqhmgxS2\n5Si3FxiZ7KxCv9+Dx9fYIXtEz45C3IpUIlPwmM7K5MURWpkMV2YYaq4ERMcd\nNXDQpukboc/rWYaA/Uj7d6eqXbENO8qd/doVvvw+jUR5w7MSHHif5II0t9gM\nqJo3JzK+mgAKse1Ixlh2Q05MAlgS4uICUW55CEdx5+Vw45/sDqsLnvXm0Co9\nu6LiJ+kVdZG5BW9V8KygLUN7FtawaFatMJ+IvKLzykYDcDMNylLllfcsEJJG\ntro+wSLsPUJ6XdoYsYyH293pbZBMl7SFS/S3bnRrDKcmUFQoq6T3GNKToP3t\noppbU/Ma+AuIfQoKjFofMnwrozWRWl1X7M1BXNkZ9RGxtfdTch4zEAJlFVbU\n9PPenNr07e1YHvEXkv1ZD3HartN+2i+BrgxoLcZZtgRt1K0s5LuQGEIwEjyt\nowIl2n+GLCe9PEbTYds6/nhXgNdfrL/QxYFrrAvkSG0Ctnl4CO6coWKGLTTL\nZjawANWZ8jMsLYywT7yIx+LV3WVcVWoMj4q3BxF/RdJ+qpX8vNrIVQ4xo4sa\n0HFdddqAIiHsndZTKNac6spyxqzLGnUXruw08h/5tqk6RIXhywvdjnH0Dq4N\n9k4ZcWONr1ns8iZ0QvEFNYsWIFAw3cqxvU+nAI/zIjBHqkgo9K0ZMRVRUZR/\nBdp2\r\n=/etK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEIjXFND9nkNoVGc2VPppcAmfS2nxt9RrGBbZmM8fVlLAiAtmkRv2xGHAarZN51FZMUsRxLMxDv2kVJe4zXsuLItQg=="}],"size":2506,"noattachment":false,"key":"/cwebp-bin/-/cwebp-bin-5.0.0.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cwebp-bin_5.0.0_1543581730263_0.47950326202827065"},"_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":1543581730430,"_cnpm_publish_time":1543581730430,"dist-tags":{"latest":"8.0.0"}}