npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@jehosogo/lumenjs

v0.3.0

Published

Lumen — a transparent, no-magic, no-build vanilla-JS OOP UI framework. What you write is what runs.

Readme

Lumen

A transparent, no-magic, no-build vanilla-JS OOP UI framework. What you write is what runs.

Un framework de UI en JS vanilla, OOP, transparente, sin magia y sin build. Lo que escribes es lo que corre.

📖 Live docs & examples · Documentación y ejemplos en vivo: https://dragones-tech.github.io/lumen/site/

Install · Instalar

No build, native ES modules, zero runtime deps. Full guide: en · es.

<!-- 1) CDN, no install — import map + jsDelivr (pin a tag/commit for production) -->
<script type="importmap">
{ "imports": {
  "lumenjs": "https://cdn.jsdelivr.net/gh/dragones-tech/lumen@main/src/index.js",
  "lumenjs/": "https://cdn.jsdelivr.net/gh/dragones-tech/lumen@main/src/"
}}
</script>
<script type="module">
  import { View } from 'lumenjs';
</script>
# 2) or copy src/ into your project (most transparent)
# 3) or npm:
npm i @jehosogo/lumenjs                    # published on npm
# or from GitHub: npm i github:dragones-tech/lumen

Principles · Principios

  • No build. Native ES modules. The only thing you need is a static file server (ES module imports are blocked on file://). Your .js reaches the browser untouched.
  • No magic. No global side effects on import, no hidden proxies, no compiler rewriting your code. Explicit OOP with a lifecycle you can read.
  • No Web Components. Plain classes (not extends HTMLElement), so you keep full control of animate/unmount. A Custom Element adapter is an opt-in escape hatch.
  • Separate HTML. Markup lives in native <template> elements — real HTML, full editor autocomplete.
  • Style-agnostic. Ships zero CSS. Bring plain CSS, native @scope, Tailwind — whatever you like.
  • Typed without a build. Plain .js + JSDoc types, checked with tsc --noEmit.

Run the examples · Correr los ejemplos

# from the repo root — zero-dep Node static server with live reload
npm run serve   # save a file → the browser reloads (set LIVERELOAD=0 to disable)
# then open http://localhost:8000/examples/event-emitter/

Docs site · Sitio de docs

A bilingual (EN/ES) documentation site built with Lumen itself — sidebar + router + each page's live example embedded. Un sitio de documentación bilingüe hecho con Lumen.

npm run serve
# open http://localhost:8000/site/

Type-check · Verificar tipos

npm install   # dev-only: TypeScript, for checking JSDoc types (never runs in the browser)
npm run check

Modules · Módulos

| Module | Status | Docs | |---|---|---| | event-emitter | ✅ done | en · es | | dom | ✅ done | en · es | | animate | ✅ done | en · es | | view | ✅ done | en · es — abstract base class you extend | | model | ✅ done | en · es | | collection | ✅ done | en · es | | collection-view | ✅ done | en · es | | region | ✅ done | en · es | | router | ✅ done | en · es | | http | ✅ done | en · esfetch wrapper | | i18n | ✅ done | en · es — translations | | validate | ✅ done | en · es — model + UI validation | | element | ✅ done | en · es — use a View as a Custom Element (defineElement) | | canvas | 🧪 experimental | en · es — render the same Model/Collection to canvas (Stage/Node2D/CanvasLayer); import from lumenjs/canvas |

Guides · Guías

  • Styling (Lumen is style-agnostic; plain CSS, @scope, Tailwind): en · es — runnable Tailwind example.
  • Deployment & loading (HTTP/2, import maps, modulepreload — no bundler needed): en · es.
  • For AI agents (llms.txt, AGENTS.md): en · es.
  • Credits & lineage (homage to Backbone & Marionette): en · es.

For AI agents · Para agentes de IA

Machine-readable docs so an assistant (Claude, Codex, Cursor…) writes idiomatic Lumen:

  • llms.txt — index of all docs (llmstxt.org convention).
  • llms-full.txt — every page in one file; paste it into your assistant.
  • AGENTS.md — project conventions for coding agents (and CLAUDE.md for Claude Code).

Regenerate the llms.* files after editing docs with npm run llms.

Credits · Créditos

Lumen is a respectful, modernized homage to Backbone.js (Model, Collection, events-first) and Marionette.js (View, Region, CollectionView, layouts). The patterns are theirs; the implementation is rebuilt on the modern platform — no jQuery, no Underscore, no build. No Backbone/Marionette code is used; these are conceptual inspirations. See credits.