{"id":48537572,"url":"https://github.com/jeremy-code/libexif-wasm","last_synced_at":"2026-04-08T03:01:01.319Z","repository":{"id":292808222,"uuid":"973389529","full_name":"jeremy-code/libexif-wasm","owner":"jeremy-code","description":"JavaScript bindings for libexif compiled to WebAssembly","archived":false,"fork":false,"pushed_at":"2026-04-05T05:32:03.000Z","size":3130,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-05T06:30:21.557Z","etag":null,"topics":["c","emscripten","exif","libexif","libexif-wasm","metadata","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/libexif-wasm","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeremy-code.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-26T22:04:18.000Z","updated_at":"2026-04-05T05:28:48.000Z","dependencies_parsed_at":"2025-05-12T09:55:47.708Z","dependency_job_id":null,"html_url":"https://github.com/jeremy-code/libexif-wasm","commit_stats":null,"previous_names":["jeremy-code/libexif-wasm"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jeremy-code/libexif-wasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremy-code%2Flibexif-wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremy-code%2Flibexif-wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremy-code%2Flibexif-wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremy-code%2Flibexif-wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremy-code","download_url":"https://codeload.github.com/jeremy-code/libexif-wasm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremy-code%2Flibexif-wasm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31535207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["c","emscripten","exif","libexif","libexif-wasm","metadata","wasm","webassembly"],"created_at":"2026-04-08T03:00:27.936Z","updated_at":"2026-04-08T03:01:01.313Z","avatar_url":"https://github.com/jeremy-code.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libexif-wasm\n\n\u003c!-- Link references --\u003e\n\n[github-actions]: https://www.github.com/jeremy-code/libexif-wasm/actions/workflows/ci.yml\n[github-actions-badge]: https://www.github.com/jeremy-code/libexif-wasm/actions/workflows/ci.yml/badge.svg\n[license-badge]: https://img.shields.io/github/license/jeremy-code/libexif-wasm\n[npm-package]: https://www.npmjs.com/package/libexif-wasm\n[npm-version-badge]: https://img.shields.io/npm/v/libexif-wasm\n\n[![GitHub Actions][github-actions-badge]][github-actions] [![License][license-badge]](LICENSE) [![NPM version][npm-version-badge]][npm-package]\n\nThis library is a WebAssembly port of the [libexif](https://libexif.github.io/) C library, which is used for parsing, editing, and saving EXIF metadata in images. It intends to be a faithful port of the original library and provide all of its functions and features.\n\nHence, it follows that the API is low-level and may not be user-friendly. Consider using one of these libraries if you are looking for a different API:\n\n- [exifreader](https://www.npmjs.com/package/exifreader) by Mattias Wallander ([@mattiasw](https://github.com/mattiasw)) - A JavaScript Exif info parser\n- [exif-reader](https://www.npmjs.com/package/exif-reader) by Devon Govett ([@devongovett](https://github.com/devongovett)) - A small EXIF image metadata reader\n- [exiftool-vendored](https://www.npmjs.com/package/exiftool-vendored) by [PhotoStructure](https://photostructure.com/) - Fast, cross-platform Node.js access to ExifTool\n\n## Installation\n\n```shell\nnpm install libexif-wasm # npm\nyarn add libexif-wasm    # yarn\npnpm add libexif-wasm    # pnpm\n```\n\n## Usage\n\nThe library can be used in both browser environments and Node.js.\n\n```ts\nimport { ExifData, ExifIfd } from \"libexif-wasm\";\n\n// Get the image data\nconst data = await fetch(\"path/to/image.jpg\").then((res) =\u003e res.arrayBuffer()); // Fetch API\nconst data = (await readFile(\"path/to/image.jpg\")).buffer; // Node.js `fs/promises`\nconst data = await formData.get(\"file\").arrayBuffer(); // FormData\nconst data = await file.arrayBuffer(); // File API\n\n// Create an ExifData instance\nconst exifData = ExifData.from(data); // Buffer\nconst exifData = ExifData.newFromData(new Uint8Array(data)); // Uint8Array\n\nexifData.dump(); // Dump all EXIF data to console\nconst exifEntry = exifData.getEntry(\"MAKE\"); // Get a specific ExifEntry\nconsole.log(`tag ${exifEntry.tag} = ${exifEntry.toString()}`); // Print the value of the ExifEntry\nconst exifIfdGps = exifData.ifd[ExifIfd.GPS]; // Get the GPS IFD\n// + Anything else that libexif supports\n\nexifData.free(); // Free the memory used by the ExifData instance\n```\n\nFor more examples, see [docs/usage](docs/usage):\n\n1. [Get all Exif entries](docs/usage/get-all-entries.md)\n2. [Byte order](docs/usage/byte-order.md)\n3. [Compatibility](docs/usage/compatibility.md)\n4. [Data](docs/usage/data.md)\n5. [Resource Management](docs/usage/resource-management.md)\n6. [Tags](docs/usage/tags.md)\n\n## License\n\nThis project is licensed under the [GNU Lesser General Public License v2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html) - see the [LICENSE](LICENSE) file for details.\n\nThis project makes heavy use of the C library [libexif](https://libexif.github.io/), which is licensed under the GNU Lesser General Public License v2.1. For more information, see [libexif/libexif/COPYING](https://github.com/libexif/libexif/blob/master/COPYING) in their GitHub repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremy-code%2Flibexif-wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremy-code%2Flibexif-wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremy-code%2Flibexif-wasm/lists"}