← all corpora

lit

reference corpus · status live · domain WEB (Web and frontend platform) · lane A · refresh pinned · tags GLOBAL · LIT · WEB-COMPONENTS · TEMPLATES · REACTIVE · LIT-HTML

What an agent uses it for

An agent building web components queries this for Lit's reactive-element lifecycle, declarative template directives and efficient DOM updates.

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/lit.json
xerj corpus add --from ./lit.json
xerj corpus index lit then xerj code lit "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "lit", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
lit 01dbc6673cdcBSD-3-Clause 12.8 MB / 1,929 files licence host-verified (ok-spdx): BSD-3-Clause

12.8 MB across 1,929 files. Added 2026-10-13.

Rights

BSD-3-Clause. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

Not yet spot-checked. Queries are pre-registered in the registry before grading.