{"name":"cwebp-bin","version":"6.1.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"},"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":"3b15a3025625f97cfc13faf308988e9b66355058","bugs":{"url":"https://github.com/imagemin/cwebp-bin/issues"},"homepage":"https://github.com/imagemin/cwebp-bin#readme","_id":"cwebp-bin@6.1.1","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-NhtrQzmEuvUDS9gyWVTuBvBvp/rz0QCZpqmf8jYb/x2h29vBcaSaT2uer3lQBfP5nh2gVekgUT5UqRusXgvuaw==","shasum":"bbf8bdb9c37403c711682d05b12de8dc9e810e13","tarball":"http://registry-npm.ywwl.com/cwebp-bin/download/cwebp-bin-6.1.1.tgz","fileCount":8,"unpackedSize":4038328,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0i5xCRA9TVsSAnZWagAAHnYP/RNmeg6J4DqRPdwXUqF8\nAugoZpJfRSQXAZIz0tcwpxDG1aVeOdlarmnZK3Sf9DehwH2O68qS89ctOXiX\nvi1iSd7LrHvVKnvVQkhZDMYO6WTlhB8/f5Uo4c6cbGUActndPMMhsKZiLbxc\nykfGLws1k18bb+ZibRHSPid+3p+6BjiJb8O8L8x8qESbNvp7SVgk8Hc9u5Gh\nMm/jB3dIX2MChTBe1p1edq20nSXQBkmSgMY6kIlBONmVhr8iwuTynyeXNu0/\nnGI+l3tsMhJ9Ahc9RSoXGmdhfPp5fA4fN5IjY8g7jBj1ZFbbLtRiWk3uDqKx\njYse5hEAXIJctasFb5maV+0jCnfIxxnLzl7K2vwMO7RBlNOsOOz98+X2ZEIT\n7XK16X+5KVRSw4ERKy7FE87WOKPhnVmKtyOntkGEFrzIfdU+KA8MN9NNT9VV\n4fYvweIfZNYe8QN1cg41MrCvh2jRauq/2Nsog10UeP+Di0T3Ff6SYyy8eCoz\nTuIQkXiBQBStFLszDO4x6NAySftpqFIzWnimrKk85ZEWQk6YDHyJ8Tmo14M3\nhC358yl0QHYG2cqn6sL0WGgCtbjSmQkkeoKsGT+35v6y3E1Sck346vpzng0v\nwQ4CbuXVdjuEcUOwd7LiqjBuY/wAx2wYw7Oq0tmQhqlIJHdz8EJpZT9wVCrI\nrjcx\r\n=ex1m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPbJPEtPCkbsO4+06JLr2jloJhhawZpaksNuOP+aX4lwIgE+YIuzUhqS7vNEPGmhOPsCrd+B1AFZ37b2XabVSd+bQ="}],"size":4037011,"noattachment":false,"key":"/cwebp-bin/-/cwebp-bin-6.1.1.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.1_1590832752129_0.7162104705702688"},"_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":1590832752972,"_cnpm_publish_time":1590832752972,"dist-tags":{"latest":"8.0.0"}}