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

@equinor/fusion-framework-dev-portal

v1.4.5

Published

This package provides a development portal for the Fusion framework.

Readme

Dev Portal

This package provides a development portal for the Fusion framework.

This Portal only contains the bare minimum to get started with the Fusion Application development. Visuals might differ from the production portal.

It is recommended to use the @equinor/fusion-framework-dev-server package for a more complete development experience. This package is a small part of the refactoring of the @equinor/fusion-framework-cli and is not intended for direct use in production.

Installation

pnpm add @equinor/fusion-framework-dev-portal

Environment Variables

The following environment variables must be set in .env or in the environment variables of the server:

  • FUSION_MSAL_CLIENT_ID: The client ID for MSAL authentication.
  • FUSION_MSAL_TENANT_ID: The tenant ID for MSAL authentication.
  • FUSION_SERVICE_DISCOVERY_URL: The URL for service discovery.
  • FUSION_SERVICE_SCOPE: The scopes for the service.
  • FUSION_SPA_AG_GRID_KEY: (Optional) AG Grid Enterprise license key for local development. When provided, this eliminates AG Grid license console warnings when running the portal locally with AG Grid-enabled features.

Local AG Grid Configuration

To use AG Grid Enterprise features without console warnings during local development:

  1. Obtain an AG Grid Enterprise license key from your organization
  2. Add the key to your .env file:
    FUSION_SPA_AG_GRID_KEY=your-license-key-here
  3. Start the dev portal:
    pnpm start
  4. Verify the configuration by opening the portal and checking the browser console - there should be no AG Grid license warnings

Note: The license key is only used for local development and is never committed to the repository or deployed to production.

Development

pnpm start

Usage

import { render } from "@equinor/fusion-framework-dev-portal";

const el = document.createElement("div");
el.id = "dev-portal";
document.body.appendChild(el);

const framework = /** Fusion Framework, [Service Discovery, MSAL] */;

render(el, {ref: framework});

Usage with @equinor/fusion-framework-dev-server

import { createDevServer } from "@equinor/fusion-framework-dev-server";

const portalId = '@equinor/fusion-framework-dev-portal';
const devServer = await createDevServer({
  spa: {
    templateEnv: {
      portal: {
        id: portalId,
        tag: 'latest',
      }
      /** --- Add any other environment variables you need here --- */
    },
  },
  api: {
    serviceDiscoveryUrl: "https://location.of.your.service.discovery",
    processServices: /** generate proxy routes */
    routes: [
      {
        // intercept for the dev-portal manifest
        match: `/PROXY_SERVICE_KEY/PROXY_PATH/${options.portal}{@:tag}`,
        middleware: async (req, res) => {
          res.writeHead(200, { 'content-type': 'application/json' });
          // resolve the local path to the dev-portal
          // __CWD__/node_modules/@equinor/fusion-framework-dev-portal/dist/main.js
          const path =  fileURLToPath('/@fs' + import.meta.resolve(portalId));
          const manifest = {
            build: { 
              entrypoint: new URL(path, req.headers.referer), 
            }
          }
          res.end(JSON.stringify(manifest));
        },
      }
    ]
  },
});