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

@flui-cloud/dymmi-ui-element

v0.1.0

Published

The dymmi database console as a framework-agnostic Web Component (<dymmi-database-console>). Self-contained Angular 22 bundle — embeddable in any host (incl. Angular 18) without recompiling.

Downloads

154

Readme

@flui-cloud/dymmi-ui-element

The dymmi database console, shipped as a framework-agnostic Web Component (<dymmi-database-console>). The package is a single self-contained Angular 22 bundle — its own Angular runtime is inlined — so any host can load it without recompiling and regardless of the host's framework version, including an Angular several majors behind.

Two files:

| file | what it is | | ----------------- | ------------------------------------------------------- | | dist/main.js | the bundle; importing it registers the custom element | | dist/styles.css | global styles (Tailwind base) — the host must load this |

Consume (plain HTML)

<link rel="stylesheet" href="@flui-cloud/dymmi-ui-element/styles.css" />
<dymmi-database-console></dymmi-database-console>
<script type="module">
  import '@flui-cloud/dymmi-ui-element'; // registers customElements.define('dymmi-database-console', …)
  const el = document.querySelector('dymmi-database-console');
  el.config = { apiBaseUrl: 'https://dymmi.internal/api', authToken: jwt, theme: 'dark' };
  el.addEventListener('ready', () => console.log('console mounted'));
</script>

Consume (Angular host, any major)

// 1. side-effect import once at startup → registers the element
import '@flui-cloud/dymmi-ui-element';

// 2. allow unknown elements in the module/component that uses it
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
@Component({ schemas: [CUSTOM_ELEMENTS_SCHEMA], /* … */ })

// 3. load the global stylesheet (angular.json "styles" or a global import)
//    node_modules/@flui-cloud/dymmi-ui-element/dist/styles.css
<dymmi-database-console
  [config]="{ apiBaseUrl: apiBase, authToken: token, theme: 'dark' }"
  (ready)="onConsoleReady()">
</dymmi-database-console>

Tip: lazy-load the route that hosts the element and import('@flui-cloud/dymmi-ui-element') dynamically — the bundle is large (it carries its own Angular).

The contract

config (input — property or JSON-string attribute)

| field | type | default | meaning | | ------------ | --------------------- | -------- | ---------------------------------------------------- | | apiBaseUrl | string | /api | base URL of the dymmi server API | | authToken | string | — | bearer token → sent as Authorization: Bearer <t> | | theme | 'dark' \| 'light' | — | UI theme hint (reserved) |

Setting config again at runtime is honoured live (the live data resources re-fetch against the new base/token — no reload).

ready (output — CustomEvent<void>)

Fires once the console has mounted and applied the initial config.

Build / re-pack

pnpm --filter @flui-cloud/dymmi-ui-element build   # runs apps/web build:element, stages dist/
pnpm --filter @flui-cloud/dymmi-ui-element pack --pack-destination ../../dist-packages

Requires Node ≥ 22.22.3 (Angular 22 CLI). See scripts/pack-local.sh.