{"id":26233642,"url":"https://github.com/andytango/webp-wasm-js","last_synced_at":"2026-05-01T20:31:15.767Z","repository":{"id":42734621,"uuid":"283153965","full_name":"andytango/webp-wasm-js","owner":"andytango","description":"🎨 Simple webp encoder and decoder, compiled to WebAssembly","archived":false,"fork":false,"pushed_at":"2022-03-27T06:56:39.000Z","size":222,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-27T05:55:44.960Z","etag":null,"topics":["image-processing","javascript","wasm","webassembly","webp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andytango.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}},"created_at":"2020-07-28T08:45:15.000Z","updated_at":"2023-12-25T18:34:07.000Z","dependencies_parsed_at":"2022-09-11T09:22:06.828Z","dependency_job_id":null,"html_url":"https://github.com/andytango/webp-wasm-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andytango/webp-wasm-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andytango%2Fwebp-wasm-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andytango%2Fwebp-wasm-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andytango%2Fwebp-wasm-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andytango%2Fwebp-wasm-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andytango","download_url":"https://codeload.github.com/andytango/webp-wasm-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andytango%2Fwebp-wasm-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32512662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-processing","javascript","wasm","webassembly","webp"],"created_at":"2025-03-13T01:16:56.857Z","updated_at":"2026-05-01T20:31:15.656Z","avatar_url":"https://github.com/andytango.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebP encoder and decoder\n\nExtracted and built from Google's [Squoosh](https://github.com/GoogleChromeLabs/squoosh) app, packaged for NPM.\n\n## Example\n\nSee `dec/example.html` and `enc/example.html`\n\n## Decode API\n\n### `int version()`\n\nReturns the version of libwebp as a number. va.b.c is encoded as 0x0a0b0c\n\n### `RawImage decode(std::string buffer)`\n\nDecodes the given webp buffer into raw RGBA. `RawImage` is a class with 3 fields: `buffer`, `width`, and `height`.\n\n### `void free_result()`\n\nFrees the result created by `decode()`.\n\n## Encode API\n\n### `int version()`\n\nReturns the version of libwebp as a number. va.b.c is encoded as 0x0a0b0c\n\n### `UInt8Array encode(uint8_t* image_buffer, int image_width, int image_height, WebPConfig config)`\n\nEncodes the given image with given dimension to WebP.\n\n### `void free_result()`\n\nFrees the last result created by `encode()`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandytango%2Fwebp-wasm-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandytango%2Fwebp-wasm-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandytango%2Fwebp-wasm-js/lists"}