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

@polar/client-dish

v1.2.0

Published

POLAR Client DISH. This client provides information about monuments in Schleswig-Holstein, Germany.

Readme

POLAR client DISH

Content

The DISH client is used to display information about monuments. It is versioned; updates require version updates.

Please see the CHANGELOG.md for all changes after the initial release.

Usage

The product can be used for two use cases.

One is a hostable HTML page for the public. Usually, we do not deliver full pages, but rather components. Due to this, it's just that component, but full page width and height.

The other one is a map that can be embedded in the dish application for internal use and as such is tailored for this specific use case.

Add a query parameter, e.g. ?ObjektID=1506, to the page's URL to initially focus a feature and display its feature information by ObjektID.

Name and casing of "ObjektID" have been directly taken from the backend to avoid duplicate naming.

For the internal map, another query parameter, e.g. ?NewTab=false, can be given. This parameter is used in the URL for the plugin DishExportMap and defines if the backend creates a link to go back to the previous page (NewTab=false) or not (NewTab=true).

Configuration

| fieldName | type | description | | - | - | - | | containerId | string | ID of the container the map is supposed to render itself to. | | mode | enum["INTERN", "EXTERN"] | Defines the mode in which the map will be started. | | urlParams | DishUrlParams? | Object to define the internalHost and internServicesBaseUrl for internal services. Mandatory for the mode 'INTERN'. | | configOverride | object? | This can be used to override the configuration of any installed plugin; see full documentation. In this case, use this object with the plugin name 'gfi' as property to define the internalHost for these plugin. Mandatory for the mode 'INTERN'. |

urlParams

| fieldName | type | description | | - | - | - | | internalHost | string | The URL of the server where the DISH software and the monument services are hosted. | | internServicesBaseUrl | string | A combination of host, port and path to create a base URL that can be used for the monument services that run on the same server. |

The internalHost is also needed as parameter for the gfi plugin. It displays photographs of the monuments and uses the parameter as path to the right folder on the server.

Example configuration

const urlParams = {
  internalHost,
  internServicesBaseUrl: `${internalHost}:${internalPort}/${internalPath}`
}

client.createMap({
  containerId: 'polarstern',
  mode: 'INTERN', // INTERN, EXTERN
  // only needed for internal map
  urlParams,
  configOverride: {
    gfi: {
      internalHost: urlParams.internalHost,
    }
  }
})