{"name":"cwebp-bin","version":"5.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"},"author":{"name":"1000ch","email":"shogo.sensui@gmail.com","url":"github.com/1000ch"},"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"}],"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":"72c41de954cf0ca450500402e19408b66fc22674","bugs":{"url":"https://github.com/imagemin/cwebp-bin/issues"},"homepage":"https://github.com/imagemin/cwebp-bin#readme","_id":"cwebp-bin@5.1.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-BsPKStaNr98zfxwejWWLIGELbPERULJoD2v5ijvpeutSAGsegX7gmABgnkRK7MUucCPROXXfaPqkLAwI509JzA==","shasum":"d5bea87c127358558e7bf7a90a6d440d42dcb074","tarball":"http://registry-npm.ywwl.com/cwebp-bin/download/cwebp-bin-5.1.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\nwsFcBAEBCAAQBQJc6SN8CRA9TVsSAnZWagAAX9EP/0yxyRZzj0V78NqSyKLa\npDdOBeq+04eiuEWVNwx6LvGktR2rf1rULScrb+s0lF0QW222KovcIBN+njqr\nkqvT7HQVqX2DjcPyU0K9c3aN2yZQQ+kNF9o0pJYI1EZ/s3vprHBhECvrShZ7\nDmvyYUZWP95ZEbg6W+Z1G9XEEsQcwR0Q3kwLzb4jGzsiSbSWoqFeOSjGCH5y\nh5sZaby+kNFPhWh2i17LQ3C92NilrOW4kfqTN9HOzeFjC48Wbv1FomkZFlAQ\nxAwcmv9WCUvSRSwuG7fOWeTdwiDt4kg9OBd4LTnaaGndqtqC6GTcDTgNL243\nvWRTeXAA1gB+g7uJGOAdTpgEYMgT/QsUsPfcVe0pb2qQ9QONx3mJjgWXCJ/R\n306IwHEjZvfAZNcb/Kz8S2cizPGIfUuDXvjHImkQBC2tOVKkaAsJIhYEU0Z2\nZYDTTCKepeqExpz1jtZIKNBfKXG1MIYLsHkF9NZIPU/vKL0vwhDiKdQh93Ct\nkJfi9s7IqzYLZRjpf7795x0S6LzIXWCe2XC9RmLviHVvj5Wz5p5nQGfOjEah\nm0BEd6aa2aKqq7kjAxD6jpsQlbeVkL2I70hghSBhWGxyXBmpeTZFghlPK+Ol\n1PyGjnHCqPZ3BMubuYKH7+qN6fjpBl84jr1Er1CZUBxMp50QyfKMwQYHANom\nOhbc\r\n=a03I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSfT59axqdA79JkUZA0slXSMnitD1fUhn+IQBTV7Jn6wIhAPC5wRJFDwSsOPLy4fg6D2+AIMKUbub0eHqJtsXTRKW7"}],"size":2507,"noattachment":false,"key":"/cwebp-bin/-/cwebp-bin-5.1.0.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cwebp-bin_5.1.0_1558782844149_0.8583983069498393"},"_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":1558782844308,"_cnpm_publish_time":1558782844308,"dist-tags":{"latest":"8.0.0"}}