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

@itg-galaxy/superset-embed-widget

v1.0.2

Published

Reusable Superset embedded dashboard widget for microservice UIs

Readme

@itg-galaxy/superset-embed-widget

Embed Apache Superset dashboards into your Angular project with a single HTML tag.

What is this?

Apache Superset is an open-source data visualization tool. Your team builds and manages dashboards there. This package lets you display those dashboards inside your Angular app — no iframes to configure, no token logic to write. You just drop in a tag and the dashboard appears.

How it works

  1. Your team creates a dashboard in Apache Superset and gets a Dashboard ID.
  2. This package calls your backend (POST /api/Superset/GenerateGuestTokenByDashboardId) to get a secure guest token.
  3. The dashboard is rendered inside your Angular app automatically.

Install

npm install @itg-galaxy/superset-embed-widget @superset-ui/embedded-sdk

Setup (once per project) — do not skip this step

Important: Without this step the widget will throw an error and no dashboard will render.

In your app.config.ts, initialize the widget with your backend's base URL:

import { initSupersetWidget } from '@itg-galaxy/superset-embed-widget';

provideAppInitializer(() => {
  const injector = inject(Injector);
  initSupersetWidget(injector, {
    authPath: 'http://your-backend-url',  // base URL of your API server
  });
});

Usage

Import the auto-registering entry once (e.g. in main.ts or app.config.ts):

import '@itg-galaxy/superset-embed-widget/auto';

Then use the tag anywhere in your Angular templates:

<superset-dashboard dashboardId="your-dashboard-id-here"></superset-dashboard>

That's it. The widget will call your backend, get the guest token, and render the Superset dashboard inside the tag.

What your backend must return

Your POST /api/Superset/GenerateGuestTokenByDashboardId endpoint should return:

{
  "id": "dashboard-id",
  "supersetDomain": "http://your-superset-instance.com",
  "token": "guest-token-from-superset"
}

Peer dependencies

This package requires the following to already be installed in your project:

  • @angular/common >= 16
  • @angular/core >= 16
  • @superset-ui/embedded-sdk ^0.3.0
  • rxjs >= 7