{"adoption": {"forks": 238, "observed_at": "2026-08-28T04:06:29.035064+00:00", "stars": 2230}, "canonical_url": "https://ross.abutalabs.com/products/image-size", "card": {"archived": true, "artifact_type": "library", "description": "Node module for detecting image dimensions", "domain": ["image-processing", "files", "developer-tools"], "enriched": true, "function": ["image-processing", "parser"], "health_score": 10, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["image-size/image-size"], "name": "image-size/image-size", "platform": ["cross-platform"], "pushed_at": "2026-06-03T09:55:04+00:00", "repo": "image-size/image-size", "stars": 2230, "tags": ["image-dimensions", "image-metadata", "zero-dependency", "typescript", "archived-on-github", "nodejs"], "topics": ["dimensions", "image-analysis", "image-size"], "urls": [], "use_cases": ["get width and height of an image file in node", "detect image dimensions from a buffer or stream", "read image resolution without loading the whole file", "validate uploaded image sizes in a web server", "check dimensions of jpeg png webp heic files", "batch measure image dimensions from a directory"], "what_it_is": "A fast, zero-dependency Node.js library that detects image dimensions by reading only image headers, supporting all major formats including JPEG, PNG, GIF, WebP, HEIC, SVG, and TIFF. It works with both files and buffers, offers ESM and CommonJS support, and includes TypeScript types.", "when_to_avoid": ["you need to decode, resize, or transform images (use sharp instead)", "you need a maintained GitHub repo - it is archived and development moved to Codeberg", "you need browser/DOM-based image handling", "you need EXIF or other metadata beyond dimensions"], "when_to_choose": ["you need lightweight, dependency-free dimension detection in Node.js", "you only need width/height, not full image decoding", "you work with buffers from streams or network requests", "you need broad format coverage including HEIC, JPEG-XL, and KTX"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/image-size", "repo": "image-size/image-size", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:44:38.286744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "042cc037344f3a24e78fbacc25eb96c19bf076e7ea7aabf3aa64fdde2c1fb2ff", "fetched_at": "2026-08-28T04:06:29.035064+00:00", "kind": "readme", "missing": false, "url": "https://github.com/image-size/image-size"}, {"content_hash": "c19def14e448f88d3c301733af297be27f48451be88109154a8caea3542f9769", "fetched_at": "2026-08-29T10:25:10.454197+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/image-size"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:44:38.286744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "042cc037344f3a24e78fbacc25eb96c19bf076e7ea7aabf3aa64fdde2c1fb2ff", "fetched_at": "2026-08-28T04:06:29.035064+00:00", "kind": "readme", "missing": false, "url": "https://github.com/image-size/image-size"}, {"content_hash": "c19def14e448f88d3c301733af297be27f48451be88109154a8caea3542f9769", "fetched_at": "2026-08-29T10:25:10.454197+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/image-size"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:44:38.286744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "042cc037344f3a24e78fbacc25eb96c19bf076e7ea7aabf3aa64fdde2c1fb2ff", "fetched_at": "2026-08-28T04:06:29.035064+00:00", "kind": "readme", "missing": false, "url": "https://github.com/image-size/image-size"}, {"content_hash": "c19def14e448f88d3c301733af297be27f48451be88109154a8caea3542f9769", "fetched_at": "2026-08-29T10:25:10.454197+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/image-size"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:44:38.286744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "042cc037344f3a24e78fbacc25eb96c19bf076e7ea7aabf3aa64fdde2c1fb2ff", "fetched_at": "2026-08-28T04:06:29.035064+00:00", "kind": "readme", "missing": false, "url": "https://github.com/image-size/image-size"}, {"content_hash": "c19def14e448f88d3c301733af297be27f48451be88109154a8caea3542f9769", "fetched_at": "2026-08-29T10:25:10.454197+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/image-size"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:44:38.286744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "042cc037344f3a24e78fbacc25eb96c19bf076e7ea7aabf3aa64fdde2c1fb2ff", "fetched_at": "2026-08-28T04:06:29.035064+00:00", "kind": "readme", "missing": false, "url": "https://github.com/image-size/image-size"}, {"content_hash": "c19def14e448f88d3c301733af297be27f48451be88109154a8caea3542f9769", "fetched_at": "2026-08-29T10:25:10.454197+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/image-size"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:44:38.286744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "042cc037344f3a24e78fbacc25eb96c19bf076e7ea7aabf3aa64fdde2c1fb2ff", "fetched_at": "2026-08-28T04:06:29.035064+00:00", "kind": "readme", "missing": false, "url": "https://github.com/image-size/image-size"}, {"content_hash": "c19def14e448f88d3c301733af297be27f48451be88109154a8caea3542f9769", "fetched_at": "2026-08-29T10:25:10.454197+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/image-size"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:29.035064+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:44:38.286744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "042cc037344f3a24e78fbacc25eb96c19bf076e7ea7aabf3aa64fdde2c1fb2ff", "fetched_at": "2026-08-28T04:06:29.035064+00:00", "kind": "readme", "missing": false, "url": "https://github.com/image-size/image-size"}, {"content_hash": "c19def14e448f88d3c301733af297be27f48451be88109154a8caea3542f9769", "fetched_at": "2026-08-29T10:25:10.454197+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/image-size"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:44:38.286744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "042cc037344f3a24e78fbacc25eb96c19bf076e7ea7aabf3aa64fdde2c1fb2ff", "fetched_at": "2026-08-28T04:06:29.035064+00:00", "kind": "readme", "missing": false, "url": "https://github.com/image-size/image-size"}, {"content_hash": "c19def14e448f88d3c301733af297be27f48451be88109154a8caea3542f9769", "fetched_at": "2026-08-29T10:25:10.454197+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/image-size"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:44:38.286744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "042cc037344f3a24e78fbacc25eb96c19bf076e7ea7aabf3aa64fdde2c1fb2ff", "fetched_at": "2026-08-28T04:06:29.035064+00:00", "kind": "readme", "missing": false, "url": "https://github.com/image-size/image-size"}, {"content_hash": "c19def14e448f88d3c301733af297be27f48451be88109154a8caea3542f9769", "fetched_at": "2026-08-29T10:25:10.454197+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/image-size"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:44:38.286744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "042cc037344f3a24e78fbacc25eb96c19bf076e7ea7aabf3aa64fdde2c1fb2ff", "fetched_at": "2026-08-28T04:06:29.035064+00:00", "kind": "readme", "missing": false, "url": "https://github.com/image-size/image-size"}, {"content_hash": "c19def14e448f88d3c301733af297be27f48451be88109154a8caea3542f9769", "fetched_at": "2026-08-29T10:25:10.454197+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/image-size"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 85, "longevity": 100, "rhythm": 40}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4811, "days_push": 91, "days_rel": 518, "gap_med": 17.5, "n_releases_24m": 5}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}