{"id":22014665,"url":"https://github.com/hackplan/imagemin-oxipng","last_synced_at":"2025-03-23T08:42:41.718Z","repository":{"id":74898950,"uuid":"284708043","full_name":"HackPlan/imagemin-oxipng","owner":"HackPlan","description":"OxiPNG plugin for Imagemin","archived":false,"fork":false,"pushed_at":"2023-04-19T16:50:16.000Z","size":1422,"stargazers_count":1,"open_issues_count":3,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-28T15:30:43.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HackPlan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-03T13:30:10.000Z","updated_at":"2021-02-17T14:02:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9e15758-cd02-4c2f-8331-76f1b6ac9b78","html_url":"https://github.com/HackPlan/imagemin-oxipng","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackPlan%2Fimagemin-oxipng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackPlan%2Fimagemin-oxipng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackPlan%2Fimagemin-oxipng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackPlan%2Fimagemin-oxipng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HackPlan","download_url":"https://codeload.github.com/HackPlan/imagemin-oxipng/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245078151,"owners_count":20557279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-30T04:17:06.014Z","updated_at":"2025-03-23T08:42:41.713Z","avatar_url":"https://github.com/HackPlan.png","language":"JavaScript","readme":"# OxiPNG plugin for Imagemin\n\n## Usage\n\n```js\nconst imagemin = require('imagemin');\nconst imageminOxipng = require('imagemin-oxipng');\n\n(async () =\u003e {\n\tawait imagemin(['images/*.png'], {\n\t\tdestination: 'build/images',\n\t\tplugins: [\n\t\t\timageminOxipng()\n\t\t]\n\t});\n\n\tconsole.log('Images optimized');\n})();\n```\n\n\n## API\n\n### imageminOxipng(options?)(input)\n\nReturns `Promise\u003cBuffer\u003e`.\n\n#### options\n\nType: `object`\n\n##### quality\n\nType: `number`\u003cbr\u003e\nDefault: `2`\u003cbr\u003e\nValues: `1` (faster) to `6` (better compression)\n\nOptimization: -o 1 through -o 6, lower is faster, higher is better compression. The default (-o 2) is sufficiently fast on a modern CPU and provides 30-50% compression gains over an unoptimized PNG. -o 4 is 6 times slower than -o 2 but can provide 5-10% extra compression over -o 2. Using any setting higher than -o 4 is unlikely to give any extra compression gains and is not recommended.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackplan%2Fimagemin-oxipng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackplan%2Fimagemin-oxipng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackplan%2Fimagemin-oxipng/lists"}