{"adoption": {"forks": 393, "observed_at": "2026-08-28T04:06:00.920250+00:00", "stars": 1971}, "canonical_url": "https://ross.abutalabs.com/products/svg-pan-zoom", "card": {"archived": false, "artifact_type": "library", "description": "JavaScript library that enables panning and zooming of an SVG in an HTML document, with mouse events or custom JavaScript hooks", "domain": ["web-development", "frontend", "graphics"], "enriched": true, "function": ["ui-components", "animation"], "health_score": 58, "homepage": "https://github.com/ariutta/svg-pan-zoom#demos", "language": "JavaScript", "license": "BSD-2-Clause", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["bumbu/svg-pan-zoom"], "name": "bumbu/svg-pan-zoom", "platform": ["browser", "cross-platform"], "pushed_at": "2026-01-16T15:19:50+00:00", "repo": "bumbu/svg-pan-zoom", "stars": 1971, "tags": ["svg", "pan", "zoom", "javascript", "touch-events"], "topics": [], "urls": [], "use_cases": ["add pan and zoom to an inline SVG diagram in a web page", "make an SVG map pannable and zoomable with mouse wheel and touch", "control SVG zoom programmatically from JavaScript", "add on-screen zoom controls to an embedded SVG", "listen for pan and zoom events on an SVG viewer", "enable pinch-to-zoom on SVGs for mobile users"], "what_it_is": "A JavaScript library that adds panning and zooming to SVG images embedded in HTML documents, via mouse scroll, double-click, touch gestures, or programmatic API calls. It supports inline SVGs as well as SVGs loaded through object or embed elements, with optional on-screen zoom controls and onPan/onZoom event hooks.", "when_to_avoid": ["you need pan/zoom for raster images or canvas rather than SVG", "you need advanced features like rotation, deep-zoom tiling, or WebGL rendering", "you are building a full-featured map application where a mapping library fits better"], "when_to_choose": ["you need simple, dependency-free pan/zoom for SVG content in the browser", "you want both mouse and touch support with a small JavaScript API", "you need cross-browser support for inline and embedded SVGs"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/svg-pan-zoom", "repo": "bumbu/svg-pan-zoom", "role": "main", "score": 51}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:00.920250+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:05:04.766836+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e19997b4d45aaecf24591f32ae877b0ba01c9e777965ff07a2ad80dfc7907aa", "fetched_at": "2026-08-28T04:06:00.920250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bumbu/svg-pan-zoom"}, {"content_hash": "762a0743f5b863a7ec82fe67a907c21fac0d04f1f4c48980a2045b7865e85ea5", "fetched_at": "2026-08-29T10:44:48.721776+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ariutta/svg-pan-zoom#demos"}, {"content_hash": "649d7360287c14d8ec247f739ce2797ca7b5b0e70ae6dccd1e2680cb5e3b1168", "fetched_at": "2026-08-29T10:44:48.731151+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svg-pan-zoom"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:00.920250+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:05:04.766836+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e19997b4d45aaecf24591f32ae877b0ba01c9e777965ff07a2ad80dfc7907aa", "fetched_at": "2026-08-28T04:06:00.920250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bumbu/svg-pan-zoom"}, {"content_hash": "762a0743f5b863a7ec82fe67a907c21fac0d04f1f4c48980a2045b7865e85ea5", "fetched_at": "2026-08-29T10:44:48.721776+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ariutta/svg-pan-zoom#demos"}, {"content_hash": "649d7360287c14d8ec247f739ce2797ca7b5b0e70ae6dccd1e2680cb5e3b1168", "fetched_at": "2026-08-29T10:44:48.731151+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svg-pan-zoom"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:05:04.766836+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e19997b4d45aaecf24591f32ae877b0ba01c9e777965ff07a2ad80dfc7907aa", "fetched_at": "2026-08-28T04:06:00.920250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bumbu/svg-pan-zoom"}, {"content_hash": "762a0743f5b863a7ec82fe67a907c21fac0d04f1f4c48980a2045b7865e85ea5", "fetched_at": "2026-08-29T10:44:48.721776+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ariutta/svg-pan-zoom#demos"}, {"content_hash": "649d7360287c14d8ec247f739ce2797ca7b5b0e70ae6dccd1e2680cb5e3b1168", "fetched_at": "2026-08-29T10:44:48.731151+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svg-pan-zoom"}], "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:00.920250+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:00.920250+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:00.920250+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:05:04.766836+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e19997b4d45aaecf24591f32ae877b0ba01c9e777965ff07a2ad80dfc7907aa", "fetched_at": "2026-08-28T04:06:00.920250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bumbu/svg-pan-zoom"}, {"content_hash": "762a0743f5b863a7ec82fe67a907c21fac0d04f1f4c48980a2045b7865e85ea5", "fetched_at": "2026-08-29T10:44:48.721776+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ariutta/svg-pan-zoom#demos"}, {"content_hash": "649d7360287c14d8ec247f739ce2797ca7b5b0e70ae6dccd1e2680cb5e3b1168", "fetched_at": "2026-08-29T10:44:48.731151+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svg-pan-zoom"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:00.920250+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:00.920250+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:05:04.766836+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e19997b4d45aaecf24591f32ae877b0ba01c9e777965ff07a2ad80dfc7907aa", "fetched_at": "2026-08-28T04:06:00.920250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bumbu/svg-pan-zoom"}, {"content_hash": "762a0743f5b863a7ec82fe67a907c21fac0d04f1f4c48980a2045b7865e85ea5", "fetched_at": "2026-08-29T10:44:48.721776+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ariutta/svg-pan-zoom#demos"}, {"content_hash": "649d7360287c14d8ec247f739ce2797ca7b5b0e70ae6dccd1e2680cb5e3b1168", "fetched_at": "2026-08-29T10:44:48.731151+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svg-pan-zoom"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:00.920250+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:00.920250+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:00.920250+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:05:04.766836+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e19997b4d45aaecf24591f32ae877b0ba01c9e777965ff07a2ad80dfc7907aa", "fetched_at": "2026-08-28T04:06:00.920250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bumbu/svg-pan-zoom"}, {"content_hash": "762a0743f5b863a7ec82fe67a907c21fac0d04f1f4c48980a2045b7865e85ea5", "fetched_at": "2026-08-29T10:44:48.721776+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ariutta/svg-pan-zoom#demos"}, {"content_hash": "649d7360287c14d8ec247f739ce2797ca7b5b0e70ae6dccd1e2680cb5e3b1168", "fetched_at": "2026-08-29T10:44:48.731151+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svg-pan-zoom"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:00.920250+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:00.920250+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:05:04.766836+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e19997b4d45aaecf24591f32ae877b0ba01c9e777965ff07a2ad80dfc7907aa", "fetched_at": "2026-08-28T04:06:00.920250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bumbu/svg-pan-zoom"}, {"content_hash": "762a0743f5b863a7ec82fe67a907c21fac0d04f1f4c48980a2045b7865e85ea5", "fetched_at": "2026-08-29T10:44:48.721776+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ariutta/svg-pan-zoom#demos"}, {"content_hash": "649d7360287c14d8ec247f739ce2797ca7b5b0e70ae6dccd1e2680cb5e3b1168", "fetched_at": "2026-08-29T10:44:48.731151+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svg-pan-zoom"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:05:04.766836+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e19997b4d45aaecf24591f32ae877b0ba01c9e777965ff07a2ad80dfc7907aa", "fetched_at": "2026-08-28T04:06:00.920250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bumbu/svg-pan-zoom"}, {"content_hash": "762a0743f5b863a7ec82fe67a907c21fac0d04f1f4c48980a2045b7865e85ea5", "fetched_at": "2026-08-29T10:44:48.721776+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ariutta/svg-pan-zoom#demos"}, {"content_hash": "649d7360287c14d8ec247f739ce2797ca7b5b0e70ae6dccd1e2680cb5e3b1168", "fetched_at": "2026-08-29T10:44:48.731151+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svg-pan-zoom"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:05:04.766836+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e19997b4d45aaecf24591f32ae877b0ba01c9e777965ff07a2ad80dfc7907aa", "fetched_at": "2026-08-28T04:06:00.920250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bumbu/svg-pan-zoom"}, {"content_hash": "762a0743f5b863a7ec82fe67a907c21fac0d04f1f4c48980a2045b7865e85ea5", "fetched_at": "2026-08-29T10:44:48.721776+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ariutta/svg-pan-zoom#demos"}, {"content_hash": "649d7360287c14d8ec247f739ce2797ca7b5b0e70ae6dccd1e2680cb5e3b1168", "fetched_at": "2026-08-29T10:44:48.731151+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svg-pan-zoom"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:05:04.766836+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e19997b4d45aaecf24591f32ae877b0ba01c9e777965ff07a2ad80dfc7907aa", "fetched_at": "2026-08-28T04:06:00.920250+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bumbu/svg-pan-zoom"}, {"content_hash": "762a0743f5b863a7ec82fe67a907c21fac0d04f1f4c48980a2045b7865e85ea5", "fetched_at": "2026-08-29T10:44:48.721776+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ariutta/svg-pan-zoom#demos"}, {"content_hash": "649d7360287c14d8ec247f739ce2797ca7b5b0e70ae6dccd1e2680cb5e3b1168", "fetched_at": "2026-08-29T10:44:48.731151+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svg-pan-zoom"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 62, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4671, "days_push": 229, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 51, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}