{"id":26184462,"url":"https://github.com/caed0/webp-conv","last_synced_at":"2025-07-20T16:34:20.468Z","repository":{"id":200267036,"uuid":"704969165","full_name":"caed0/webp-conv","owner":"caed0","description":"A simple converter for animated WebP to GIF.","archived":false,"fork":false,"pushed_at":"2025-04-10T13:03:38.000Z","size":1781,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T23:51:24.783Z","etag":null,"topics":["converter","gif","javascript","js","node","node-js","node-module","nodejs","npm","png","webp","webp-converter","webp2gif","webp2png"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@caed0/webp-conv","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caed0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2023-10-14T16:49:49.000Z","updated_at":"2025-04-10T13:03:42.000Z","dependencies_parsed_at":"2023-10-16T09:49:14.603Z","dependency_job_id":"fbd560f5-1b65-4990-afd7-dd6f9b96f154","html_url":"https://github.com/caed0/webp-conv","commit_stats":null,"previous_names":["caed0/webp-converter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/caed0/webp-conv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caed0%2Fwebp-conv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caed0%2Fwebp-conv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caed0%2Fwebp-conv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caed0%2Fwebp-conv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caed0","download_url":"https://codeload.github.com/caed0/webp-conv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caed0%2Fwebp-conv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266160817,"owners_count":23885885,"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":["converter","gif","javascript","js","node","node-js","node-module","nodejs","npm","png","webp","webp-converter","webp2gif","webp2png"],"created_at":"2025-03-11T22:56:05.848Z","updated_at":"2025-07-20T16:34:20.443Z","avatar_url":"https://github.com/caed0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webp-conv - WebP to GIF/PNG Converter \n![NPM Downloads](https://img.shields.io/npm/d18m/%40caed0%2Fwebp-conv?style=for-the-badge)\n\n\nwebp-conv is a Node.js module for converting both animated and static WebP files to GIF or PNG format. This tool leverages the powerful libwebp library to provide high-quality conversions. With this tool, you can easily convert your WebP images, making it a convenient solution for your image conversion needs.\n\n\n## Installation\n\nYou can install webp-conv using npm:\n\n```bash\nnpm install @caed0/webp-conv\n```\n\n## Usage\n\nHere's a simple example of how to use webp-conv in your Node.js project:\n\n```javascript\nconst webpconv = require('@caed0/webp-conv');\nconst converter = new webpconv();\n\nconst input = 'input.webp';\nconst output = 'output.gif';\n\nconverter.convert(input, output, { quality: 10, transparent: '0x000000' });\n```\n\nThis code snippet demonstrates how to convert a list of input WebP files to GIF or PNG format, specifying output quality and transparency settings. The converted files will be saved in the specified output folder.\n\n## Parameters\n\nThe `convert` method takes the following parameters:\n\n- `input`: The path to the input WebP file you want to convert.\n- `output`: The path where the converted file will be saved.\n- `options` (optional): An object containing additional options for the conversion (only apply if the output is an gif).\n    - `quality`: The quality of the output image (0-100). Higher values result in better quality, but larger file sizes. (`Default: 10`)\n    - `transparent`: A string specifying the transparency color in hexadecimal format (e.g., '0xRRGGBB' or '0xRRGGBBAA'). This option is only applicable to conversions with transperent background. (`Default: 0x000000`)\n\n## Dependencies\n\nThis module relies on the [libwebp](https://developers.google.com/speed/webp) library for WebP image processing. Precompiled binaries of libwebp are automatically downloaded during installation.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://en.wikipedia.org/wiki/MIT_License) file for details.\n\nThe libwebp library is licensed under a separate license. For more information, please refer to the [libwebp license](https://github.com/webmproject/libwebp/blob/main/COPYING).\n\n## Issues and Contributions\n\nIf you encounter any issues or have suggestions for improvements, please feel free to create an issue on the [GitHub repository](https://github.com/caed0/webp-conv/issues). Contributions in the form of pull requests are also welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaed0%2Fwebp-conv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaed0%2Fwebp-conv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaed0%2Fwebp-conv/lists"}