{"_id":"oxipng-bin","name":"oxipng-bin","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"oxipng-bin","version":"1.0.0","oxipng_version":"8.0.0","description":"oxipng bin-wrapper that makes it seamlessly available as a local dependency","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vHeemstra/oxipng-bin.git"},"bugs":{"url":"https://github.com/vHeemstra/oxipng-bin/issues"},"author":{"name":"Philip van Heemstra","email":"vanheemstra@gmail.com","url":"https://github.com/vheemstra"},"maintainers":[{"name":"vheemstra","email":"philipvanheemstra@hotmail.com"}],"type":"module","exports":"./index.js","types":"./index.d.ts","bin":{"oxipng":"cli.js"},"engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"postinstall":"node lib/install.js","test":"ava --timeout=180s","lint:test":"xo && ava --timeout=180s"},"keywords":["imagemin","compress","image","img","png","minify","optimize","oxipng"],"dependencies":{"bin-wrapper":"^4.0.1","os-filter-obj":"^2.0.0"},"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":"9fa8f89148f4208a97328778678b4e1049d36504","homepage":"https://github.com/vHeemstra/oxipng-bin#readme","_id":"oxipng-bin@1.0.0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-8sQdhniHF7Hw+ujgcC2PAygRl6eB2gKRXzw56srBGRZy76eFALmIKRD2fo6PF6yFeWZ9UHqRio/tr89pS3Wqkg==","shasum":"15883e1edaedc8100df10cee3db98281648832fe","tarball":"https://registry.npmjs.org/oxipng-bin/-/oxipng-bin-1.0.0.tgz","fileCount":11,"unpackedSize":4555503,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICMrb5z+8z/gX2czxI5FoOM7FW/cH+BfUzHQusBqDG6cAiAbtRC1A/OUydZVgVaf/50/xGRmRji7jtip3WaAXxxzXQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzIxoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpg5Q/9HsMVydiHhMUn+KZ9bbo4tDuo1WgTR5umRN1kgF0GFBNPTBu2\r\ndNbYQfNdzu6Yh7mzaw9UPKGjj91tRP3z38DUL1Mn4cn1QLCiiQ9IYEPjLjuP\r\nCw6d4OHbNY52d+NGpOE93VA7Pg5tdYhE4Y6CWyWbO8/xhYRFi/4FcLp4REkI\r\nd84UK+GrEbbfHjU+oPQ7h0WRCMWuZOz4bZEkr+M26T+dr+HROM1kJs1W9ckJ\r\nIYZ200fCEOLDx6hQKjnh5n423F94WZ/KTZjBtYWw1qSzjPq9C72QytBEeQTo\r\nu+h7lCzHYSRGgfAjuJ1ntw1iV+EFp0KeyVS39Fkhbh7hQ9FKoVQNc5nNxLNg\r\n9H95RErAI+4KJfofhzjjsBYPluzKocptgDOxU5PNP7/zXPbD6peuN97ZVvEZ\r\nnFbpoxia5L1ccyaZRRjXLaoEc/vAvD0SHKtwMI6zcU3DMiR77DIv/OQ3QGwB\r\ninPmdibHEzsfgcfOXMygaYptuyjh3Mhyhy92gkOOxEgTChRaoiku48R7xqCk\r\naM4VpKo76Y51coT1ivPIaAoOsen7zK+B6YMezmjEb+FvWJ8x1RSr/rM5SHj/\r\n+dOHrZ5o/4K/eqnBW4SARauSqRhOIfsG8643/QG3D/J2OD/HEQpD3zzGinP4\r\nxyvF7K6OkXMl7hOe6zKT4m495E1s0H1jsV4=\r\n=LepN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"vheemstra","email":"philipvanheemstra@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oxipng-bin_1.0.0_1674349672622_0.17933777223567704"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-22T01:07:52.532Z","1.0.0":"2023-01-22T01:07:52.951Z","modified":"2023-01-22T01:07:53.140Z"},"maintainers":[{"name":"vheemstra","email":"philipvanheemstra@hotmail.com"}],"description":"oxipng bin-wrapper that makes it seamlessly available as a local dependency","homepage":"https://github.com/vHeemstra/oxipng-bin#readme","keywords":["imagemin","compress","image","img","png","minify","optimize","oxipng"],"repository":{"type":"git","url":"git+https://github.com/vHeemstra/oxipng-bin.git"},"author":{"name":"Philip van Heemstra","email":"vanheemstra@gmail.com","url":"https://github.com/vheemstra"},"bugs":{"url":"https://github.com/vHeemstra/oxipng-bin/issues"},"license":"MIT","readme":"# oxipng-bin\n\n> This is a bin wrapper for [OxiPNG](https://github.com/shssoichiro/oxipng) for use with [`imagemin`](https://github.com/imagemin/imagemin) and the [`imagemin-oxipng`](https://github.com/vheemstra/imagemin-oxipng) plugin.\n\nYou probably want the [`@vheemstra/imagemin-oxipng`](https://github.com/vheemstra/imagemin-oxipng) plugin instead.\n\n## Install\n\n```sh\nnpm install --save oxipng-bin\n```\n\n\n## Usage\n\n```js\nimport {execFile} from 'node:child_process';\nimport oxipng from 'oxipng-bin';\n\nexecFile(oxipng, [\n\t'--opt', '4',\n\t'--strip', 'safe',\n\t'--out', 'output.png',\n\t'input.png'\n], err => {\n\tif (err) {\n\t\tthrow err;\n\t}\n\n\tconsole.log('Image optimized!');\n});\n```\n\n\n## CLI\n\n```sh\nnpm install --global oxipng-bin\n```\n\n```sh\noxipng --help\n```\n\n\n## License & Info\n\nMIT © [Imagemin](https://github.com/imagemin)<br>\n[OxiPNG](https://github.com/shssoichiro/oxipng) by [Josh Holmer](https://github.com/shssoichiro) (Open-source software, distributed under the MIT license.)<br>\nThis package is made by [Philip van Heemstra](https://github.com/vHeemstra)<br>\nBased on [jpegtran-bin](https://github.com/imagemin/jpegtran-bin) by [Sindre Sorhus](https://github.com/sindresorhus)<br>\n[Info on building **oxipng** binaries](https://github.com/vHeemstra/oxipng-bin/blob/main/vendor/build-oxipng.md)\n","readmeFilename":"readme.md"}