{"id":16386163,"url":"https://github.com/akiyamka/webpconv-es6","last_synced_at":"2026-05-24T06:30:21.160Z","repository":{"id":122640745,"uuid":"115813795","full_name":"Akiyamka/webpconv-es6","owner":"Akiyamka","description":"Small and simple webp image format converter library","archived":false,"fork":false,"pushed_at":"2018-01-13T14:00:57.000Z","size":11980,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T04:55:12.616Z","etag":null,"topics":["image-compression","image-convert","image-converter"],"latest_commit_sha":null,"homepage":"","language":"C","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/Akiyamka.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":"2017-12-30T18:03:27.000Z","updated_at":"2018-01-13T13:41:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ec98827-71b0-4e2c-8c2a-a3d426d2c394","html_url":"https://github.com/Akiyamka/webpconv-es6","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/Akiyamka%2Fwebpconv-es6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akiyamka%2Fwebpconv-es6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akiyamka%2Fwebpconv-es6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akiyamka%2Fwebpconv-es6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akiyamka","download_url":"https://codeload.github.com/Akiyamka/webpconv-es6/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240136987,"owners_count":19753645,"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":["image-compression","image-convert","image-converter"],"created_at":"2024-10-11T04:16:25.900Z","updated_at":"2026-05-24T06:30:21.117Z","avatar_url":"https://github.com/Akiyamka.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpconv-es6\nA small [node.js](http://nodejs.org) library for working with [WebP](https://developers.google.com/speed/webp/docs/using) format. Supports the Promise API.\n\n### Example\n\nConvert .png image to .webp and save\n\n```js\nconst converter = require('webpconverter');\nconst fs = require('fs');\n\nlet options = '-q 80';\nconverter.cwebp('path/to/image.png', options, 'path/to/output.webp')\n    .then((res) =\u003e {\n        console.log(res) // 'path/to/output.webp'\n    }).catch((err) =\u003e {\n        throw new Error(err);\n    });\n```\n\nConvert .png image to .webp without saving\n\n```js\nconst converter = require('webpconverter');\nconst fs = require('fs');\n\nlet options = '-q 80';\nconverter.cwebp('path/to/image.png', options)\n    .then((res) =\u003e {\n        // Do something with data\n        fs.writeFile(path.join(__dirname, 'path/to/output.webp'), res, 'hex');\n    }).catch((err) =\u003e {\n        throw new Error(err);\n    });\n```\n\nConvert .webp image to .png format without saving\n\n```js\nconst converter = require('webpconverter');\nconst fs = require('fs');\n\nreturn converter.dwebp('path/to/image.webp')\n    .then((res) =\u003e {\n        // Do something with data\n        fse.writeFile(path.join(__dirname, 'path/to/output.png'), res, 'hex');\n    }).catch((err) =\u003e {\n        throw new Error(err);\n    });\n\n\n```\n\n### API\n  - [cwebp](https://developers.google.com/speed/webp/docs/cwebp)  - image to webp.\n  - [dwebp](https://developers.google.com/speed/webp/docs/dwebp)  - webp to image.\n  - [gif2webp](https://developers.google.com/speed/webp/docs/gif2webp) - gif animated image to animated WebP.\n  - [webpmux](https://developers.google.com/speed/webp/docs/webpmux)  - work in progress! Not supproted yet. Create animated WebP files from non-animated WebP images, extract frames from animated WebP images, and manage XMP/EXIF metadata and ICC profile.\n\n### Converter version\n   libwebp 0.6.1 (2017, November)\n\n## License\nhttps://developers.google.com/speed/webp/download?hl=ru\n  [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiyamka%2Fwebpconv-es6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakiyamka%2Fwebpconv-es6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiyamka%2Fwebpconv-es6/lists"}