# WebReflection/document-register-element

A stand-alone working lightweight version of the W3C Custom Elements specification

Repository: https://github.com/WebReflection/document-register-element
Canonical: https://ross.abutalabs.com/products/document-register-element
Language: JavaScript
License: ISC
License Family: permissive
Topics: polyfill, customelements, custom, element, v1, v0
Archived: true
Last push: 2020-10-07T14:38:28+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4434, "days_push": 2156, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1122, forks 115 (observed 2026-08-28T04:03:40.080315+00:00)

## What it is
A lightweight, stand-alone polyfill for the W3C Custom Elements (Web Components) specification, supporting both V0 and V1 APIs in browsers lacking native support. It is now deprecated in favor of @ungap/custom-elements.

## Use cases
- support custom elements in older browsers without native web components
- polyfill document.registerElement for legacy web components code
- use custom elements v1 API in browsers like old Edge or IE11
- provide a ponyfill for customElements registry
- extend built-in HTML elements in unsupported browsers

## When to choose
- maintaining a legacy codebase already built on document-register-element
- needing custom elements with builtin extends in very old browsers

## When to avoid
- starting a new project - use @ungap/custom-elements or native custom elements instead
- targeting only modern browsers with native customElements support

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, frontend-framework
- domain: web-development, frontend
- platform: browser
- tags: polyfill, custom-elements, web-components, ponyfill, deprecated

## Member repositories
- WebReflection/document-register-element (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:40.080315+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:40:54.911881+00:00, confidence not recorded.
  - readme: https://github.com/WebReflection/document-register-element (fetched 2026-08-28T04:03:40.080315+00:00, sha c0324047f1fa)
  - registry_npm: https://registry.npmjs.org/document-register-element (fetched 2026-08-29T12:44:24.489553+00:00, sha 1411a489469b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
