{"id":28484801,"url":"https://github.com/victrme/exif-js","last_synced_at":"2026-02-16T07:31:59.286Z","repository":{"id":286078770,"uuid":"960275450","full_name":"victrme/exif-js","owner":"victrme","description":"Modernized javascript library for reading EXIF image metadata","archived":false,"fork":false,"pushed_at":"2025-04-08T06:02:18.000Z","size":1388,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-17T20:11:05.034Z","etag":null,"topics":["exif","exif-js","javascript","jpeg","library","metadata","tiff"],"latest_commit_sha":null,"homepage":"https://exif-js.pages.dev","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"exif-js/exif-js","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/victrme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2025-04-04T06:42:27.000Z","updated_at":"2025-05-20T13:20:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"51670cc7-9ca8-4b69-8fdb-a162eaad5286","html_url":"https://github.com/victrme/exif-js","commit_stats":null,"previous_names":["victrme/exif-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victrme/exif-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Fexif-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Fexif-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Fexif-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Fexif-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victrme","download_url":"https://codeload.github.com/victrme/exif-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Fexif-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29502934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T05:57:17.024Z","status":"ssl_error","status_checked_at":"2026-02-16T05:56:49.929Z","response_time":115,"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":["exif","exif-js","javascript","jpeg","library","metadata","tiff"],"created_at":"2025-06-07T23:07:51.790Z","updated_at":"2026-02-16T07:31:59.281Z","avatar_url":"https://github.com/victrme.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"_This is a fork of [exif-js by @jseidelin](https://github.com/exif-js/exif-js/)_\n\n# Exif.js\n\nA JavaScript library for reading [EXIF meta data](https://en.wikipedia.org/wiki/Exchangeable_image_file_format) from image files.\n\nUse it on images in the browser, either from an image or a file input element. Both EXIF and IPTC metadata are retrieved. The EXIF standard applies only to `.jpg` and `.tiff` images. EXIF logic in this package is based on the EXIF standard v2.2.\n\nTest with this demo: https://exif-js.pages.dev/\n\n## Install\n\n- Install from jsr: https://jsr.io/@victr/exif-js\n- Install from npm: https://www.npmjs.com/package/@victr/exif-js\n\n```bash\n# jsr\ndeno add jsr:@victr/exif-js\n\n# npm\nnpm install @victr/exif-js\n```\n\n## Usage\n\nStart with calling the `getData` method. You pass it an image as a parameter:\n- either an image from a `\u003cimg src=\"image.jpg\"\u003e`\n- OR a user selected image in a `\u003cinput type=\"file\"\u003e` element on your page.\n\nYou receive an object with exif, iptc, and xmp data. \n \n**JavaScript**:\n```javascript\nimport { Exifjs } from \"@victr/exif-js\"\n\nconst reader = new Exifjs()\n\nasync function getExif() {\n    const img1 = document.getElementById(\"img1\")\n    const img2 = document.getElementById(\"img2\")\n    const makeAndModel = document.getElementById(\"makeAndModel\")\n    const allMetaDataSpan = document.getElementById(\"allMetaDataSpan\")\n\n    const { exif } = await reader.getData(img)\n    const make = exif[\"Make\"]\n    const model = exif[\"Model\"]\n    makeAndModel.textContent = `${make} ${model}`\n\n    const data = await reader.getData(img2)\n    const pretty = reader.pretty()\n    allMetaDataSpan.textContent = pretty\n}\n```\n\n**HTML**:\n```html\n\u003cbody\u003e\n    \u003cimg src=\"image1.jpg\" id=\"img1\" /\u003e\n    \u003cp\u003eMake and model: \u003cspan id=\"makeAndModel\"\u003e\u003c/span\u003e\u003c/p\u003e\n\n    \u003cimg src=\"image2.jpg\" id=\"img2\" /\u003e\n    \u003cp id=\"allMetaDataSpan\"\u003e\u003c/p\u003e\n\u003c/body\u003e\n```\n\n## What changed\n\n- Removed CommonJS\n- Replaced global variables with self-contained Exifjs class\n- Improved editor autocomplete with JSDoc\n- Replaced callbacks with async\n- Stronger code with stricter linter\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictrme%2Fexif-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictrme%2Fexif-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictrme%2Fexif-js/lists"}