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

@jeff-aporta/front-shared

v0.1.1

Published

CDN, worker-swagger y worker-unit-test compartidos (Jeff-Aporta).

Readme

front-shared

Recursos compartidos para micro-frontends Jeff-Aporta (GH Pages + Babel + MUI 9).

Arquitectura

Diagrama de arquitectura

Fuente del diagrama: docs/arquitectura.mmd — editar el .mmd; regenerar imagen: node scripts/mermaid-ink-url.mjs front-shared/docs/arquitectura.mmd (desde apps/).

Estructura detallada: docs/STRUCTURE.md

Resumen

| Ruta | Rol | |------|-----| | cdn/stack.mjs, boot-helper.mjs, boot-resolver.mjs, boot-loader.mjs, boot-module-graph.mjs | Arranque: React ESM + grafo TS/JSX + eval | | cdn/versions.json, boot-esm-imports.mjs | Pin esm.sh (import map + module-graph) | | cdn/isa/js/core/app-meta.js | Metadatos HTML por front (title, OG, favicon vía Iconify API) | | cdn/isa/ | Runtime JS: ISAFront.registerApp, tema, auth, widgets, login | | cdn/ui/ | JSX compartidos (layouts/componentes) vía jsDelivr + Babel | | docs/ | Stack, MUI llms, CORS, deploy | | worker-swagger/ | OpenAPI Workers (no CDN) | | scripts/ | Ops (Neon, etc.) |

TSX compartido (homogeneidad)

Tras registerApp, el loader transpila automáticamente los archivos en cdn/ui/ (ver SHARED_UI_FILES en boot-helper.mjs).

Uso en una app:

const Shell = window.ISAFront.Layout.AppShell;
<Shell
  ns="ISAJ"
  icon="mdi:view-dashboard-variant-outline"
  showTitle={false}
  navRows={[
    { value: space, onChange: setSpace, tabs: SPACES, minHeight: 48 },
    { value: sub, onChange: setSub, tabs: SUBSPACES, minHeight: 44 },
  ]}
  toolbarEnd={<LoginButton />}
>
  {/* vistas con scroll interno (.isa-scroll-panel) */}
</Shell>

Tercer nivel de tabs dentro de una vista: ISAFront.Layout.ViewFrame con prop navRow.

Añadir un JSX nuevo: crear bajo cdn/ui/ con extensión .jsx y registrar la ruta en SHARED_UI_FILES.

Metadatos por front (AppMeta)

Cada index.html de micro-frontend puede declarar identidad propia (title, description, Open Graph, favicon):

<script src="https://cdn.jsdelivr.net/gh/Jeff-Aporta/front-shared@main/cdn/isa/js/core/app-meta.js"></script>
<script>
AppMeta.apply({
  title: "Mi App — Jeff-Aporta",
  description: "…",
  icon: "mdi:robot-outline",
  themeColor: "#e65100",
  url: "https://jeff-aporta.github.io/mi-front/",
});
</script>

Favicon y miniatura OG usan temporalmente la Iconify API (api.iconify.design). Iconos alineados con catalog.ts del orquestador.

Repositorio GitHub

jsDelivr sirve @main solo desde repos accesibles. Tras cambios en cdn/, hacer push a main (puede tardar 1–2 min en propagarse).

Los fronts no duplican caesar, auth-api, session, stack ni AppShell: todo se carga desde jsDelivr vía boot-helper.mjs.

GitHub: Jeff-Aporta/front-shared

Main Orchestrator (URL central)

Todos los micro-frontends ISA usan una sola URL, definida solo aquí:

| Modo | Constante | Valor | |------|-----------|-------| | Producción | MAIN_ORCHESTRATOR_URL_PROD | https://main-orchestrator.jeffaporta.workers.dev | | Local | MAIN_ORCHESTRATOR_URL_LOCAL | http://localhost:8780 | | Panel hub (GH Pages) | MAIN_ORCHESTRATOR_PAGES_URL | https://jeff-aporta.github.io/main-orchestrator-front/ |

Archivo: cdn/isa/js/core/constants.js

Los fronts no repiten la URL en isa-setup.ts; registerApp() aplica estos defaults.

Tras cambiar la URL: push a front-shared (jsDelivr) y redeploy del worker main-orchestrator.

jsDelivr

https://cdn.jsdelivr.net/gh/Jeff-Aporta/front-shared@main/cdn/isa/css/base.css
https://cdn.jsdelivr.net/gh/Jeff-Aporta/front-shared@main/cdn/isa/js/index.js
https://cdn.jsdelivr.net/gh/Jeff-Aporta/front-shared@main/cdn/ui/layouts/AppShell.jsx

Local (Live Server en monorepo): los loaders importan boot-resolver.mjs y boot-helper.mjs desde apps/front-shared/cdn/; stack, isa y ui siguen yendo a jsDelivr. GH Pages: todo el arranque desde jsDelivr.

MUI llms

cd apps/front-shared && npm run refresh:mui-llms