zumerlab/snapdom
High-performance engine for capturing, modifying, and converting DOM elements into any format. observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 99
- Release rhythm 99
- Longevity 35
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 6
- age_days: 493
- days_rel: 8
- days_push: 8
- n_releases_24m: 52
Adoption not part of the score
8040 stars · 301 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
SnapDOM is a high-performance, dependency-free browser library that captures DOM elements as self-contained SVG representations and exports them to PNG, JPG, WebP, Canvas, Blob, or custom plugin formats. It preserves high fidelity details like web fonts, pseudo-elements, and shadow roots, serving as a fast modern alternative to html2canvas and html-to-image.
Use cases
- capture a DOM element as a PNG image in the browser
- export rendered HTML components as downloadable images
- generate social share cards from HTML and CSS
- produce visual regression baselines for UI testing
- export dashboard charts and KPI cards as a single image
- find an html2canvas alternative with better fidelity and speed
When to choose
- you need high-fidelity DOM-to-image capture including fonts, pseudo-elements, and shadow DOM
- capture performance matters, e.g. repeated captures in dashboards or tests
- you want a zero-dependency, MIT-licensed browser library with a plugin system for custom export formats
When to avoid
- you need server-side or Node.js rendering rather than in-browser capture
- you need full-page screenshots of live websites rather than capturing a DOM subtree in your own app
- you need PDF export or formats not supported by core or available plugins
Facets
library · maturity active
image-processing plugin-system developer-tools web-development frontend image-processing browser dom-capture screenshot html2canvas-alternative svg-export png-export html-to-image visual-regression zero-dependencies javascript nodejs
5 sources
- readme: https://github.com/zumerlab/snapdom · fetched 2026-08-28 · 0e059831b08b
- homepage: https://snapdom.dev · fetched 2026-08-29 · a2b297b59817
- site_page: https://snapdom.dev/docs/api · fetched 2026-08-29 · 611352f98757
- site_page: https://snapdom.dev/docs · fetched 2026-08-29 · 964011fdfb92
- site_page: https://snapdom.dev/docs/options · fetched 2026-08-29 · 08d64acdbc31
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| zumerlab/snapdom | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="zumerlab/snapdom")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem