{"adoption": {"forks": 1680, "observed_at": "2026-08-28T04:10:44.248398+00:00", "stars": 10779}, "canonical_url": "https://ross.abutalabs.com/products/dom-to-image", "card": {"archived": false, "artifact_type": "library", "description": "Generates an image from a DOM node using HTML5 canvas", "domain": ["web-development", "frontend"], "enriched": true, "function": ["image-processing", "graphics"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["tsayen/dom-to-image"], "name": "tsayen/dom-to-image", "platform": ["browser"], "pushed_at": "2024-04-08T16:26:47+00:00", "repo": "tsayen/dom-to-image", "stars": 10779, "tags": ["dom", "canvas", "svg", "screenshot", "png", "jpeg", "html-to-image", "nodejs"], "topics": ["canvas", "html", "dom", "render", "image", "raster", "vector", "javascript", "css", "svg"], "urls": [], "use_cases": ["render a DOM element to a PNG image in the browser", "export an HTML chart or widget as a downloadable JPEG", "convert a DOM node to an SVG data URL", "capture a screenshot of a page section client-side", "get raw RGBA pixel data from rendered HTML"], "what_it_is": "A JavaScript library that converts arbitrary DOM nodes into vector (SVG) or raster (PNG/JPEG) images using HTML5 canvas and SVG serialization. It supports web fonts, images, node filtering, and raw pixel data extraction.", "when_to_avoid": ["you need pixel-perfect full-page screenshots with full CSS support (use Puppeteer or Playwright)", "you need server-side rendering of HTML to images", "the project appears largely unmaintained; consider actively maintained forks like html-to-image"], "when_to_choose": ["you need client-side rendering of HTML to images without a headless browser", "you want to export charts, cards, or UI components as PNG/JPEG/SVG", "you need pixel data from rendered DOM content"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/dom-to-image", "repo": "tsayen/dom-to-image", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:44.248398+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:17:52.412865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58d9fbac426fd8be99da0372dceae684bdb5704abe73f4760df85e7da5e9dd12", "fetched_at": "2026-08-28T04:10:44.248398+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsayen/dom-to-image"}, {"content_hash": "bc4ea0a69f8ad87c22724fa0cca0339bb31414c03390346d06916b975fad5d04", "fetched_at": "2026-08-29T08:17:07.371374+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/dom-to-image"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:44.248398+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:17:52.412865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58d9fbac426fd8be99da0372dceae684bdb5704abe73f4760df85e7da5e9dd12", "fetched_at": "2026-08-28T04:10:44.248398+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsayen/dom-to-image"}, {"content_hash": "bc4ea0a69f8ad87c22724fa0cca0339bb31414c03390346d06916b975fad5d04", "fetched_at": "2026-08-29T08:17:07.371374+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/dom-to-image"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:17:52.412865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58d9fbac426fd8be99da0372dceae684bdb5704abe73f4760df85e7da5e9dd12", "fetched_at": "2026-08-28T04:10:44.248398+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsayen/dom-to-image"}, {"content_hash": "bc4ea0a69f8ad87c22724fa0cca0339bb31414c03390346d06916b975fad5d04", "fetched_at": "2026-08-29T08:17:07.371374+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/dom-to-image"}], "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:10:44.248398+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:44.248398+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:44.248398+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:17:52.412865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58d9fbac426fd8be99da0372dceae684bdb5704abe73f4760df85e7da5e9dd12", "fetched_at": "2026-08-28T04:10:44.248398+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsayen/dom-to-image"}, {"content_hash": "bc4ea0a69f8ad87c22724fa0cca0339bb31414c03390346d06916b975fad5d04", "fetched_at": "2026-08-29T08:17:07.371374+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/dom-to-image"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:44.248398+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:44.248398+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:17:52.412865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58d9fbac426fd8be99da0372dceae684bdb5704abe73f4760df85e7da5e9dd12", "fetched_at": "2026-08-28T04:10:44.248398+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsayen/dom-to-image"}, {"content_hash": "bc4ea0a69f8ad87c22724fa0cca0339bb31414c03390346d06916b975fad5d04", "fetched_at": "2026-08-29T08:17:07.371374+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/dom-to-image"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:44.248398+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:44.248398+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:44.248398+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:17:52.412865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58d9fbac426fd8be99da0372dceae684bdb5704abe73f4760df85e7da5e9dd12", "fetched_at": "2026-08-28T04:10:44.248398+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsayen/dom-to-image"}, {"content_hash": "bc4ea0a69f8ad87c22724fa0cca0339bb31414c03390346d06916b975fad5d04", "fetched_at": "2026-08-29T08:17:07.371374+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/dom-to-image"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:44.248398+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:44.248398+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:17:52.412865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58d9fbac426fd8be99da0372dceae684bdb5704abe73f4760df85e7da5e9dd12", "fetched_at": "2026-08-28T04:10:44.248398+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsayen/dom-to-image"}, {"content_hash": "bc4ea0a69f8ad87c22724fa0cca0339bb31414c03390346d06916b975fad5d04", "fetched_at": "2026-08-29T08:17:07.371374+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/dom-to-image"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:17:52.412865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58d9fbac426fd8be99da0372dceae684bdb5704abe73f4760df85e7da5e9dd12", "fetched_at": "2026-08-28T04:10:44.248398+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsayen/dom-to-image"}, {"content_hash": "bc4ea0a69f8ad87c22724fa0cca0339bb31414c03390346d06916b975fad5d04", "fetched_at": "2026-08-29T08:17:07.371374+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/dom-to-image"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:17:52.412865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58d9fbac426fd8be99da0372dceae684bdb5704abe73f4760df85e7da5e9dd12", "fetched_at": "2026-08-28T04:10:44.248398+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsayen/dom-to-image"}, {"content_hash": "bc4ea0a69f8ad87c22724fa0cca0339bb31414c03390346d06916b975fad5d04", "fetched_at": "2026-08-29T08:17:07.371374+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/dom-to-image"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:17:52.412865+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "58d9fbac426fd8be99da0372dceae684bdb5704abe73f4760df85e7da5e9dd12", "fetched_at": "2026-08-28T04:10:44.248398+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tsayen/dom-to-image"}, {"content_hash": "bc4ea0a69f8ad87c22724fa0cca0339bb31414c03390346d06916b975fad5d04", "fetched_at": "2026-08-29T08:17:07.371374+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/dom-to-image"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4156, "days_push": 877, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}