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

@veecode-platform/backstage-plugin-kong-service-manager

v1.0.2

Published

<!-- markdownlint-disable MD033 -->

Readme

Kong Service Manager

Backstage frontend plugin for managing Kong Gateway services, routes, and plugins directly from the catalog.

Features

  • View Kong service details (protocol, host, port, timeouts, tags)
  • List and manage plugins on a service (add, edit, remove)
  • List and manage routes on a service (create, edit, delete)
  • Manage plugins scoped to individual routes
  • Dynamic plugin configuration based on Kong schema introspection
  • Multi-instance support with an instance selector dropdown
  • Plugin categorization (AI, Authentication, Security, Traffic Control, etc.)

Screenshots

Installation

# From your Backstage root directory
yarn --cwd packages/app add @veecode-platform/backstage-plugin-kong-service-manager

Prerequisites

This plugin requires the backend plugin to be installed:

yarn --cwd packages/backend add @veecode-platform/backstage-plugin-kong-service-manager-backend

See the backend plugin README for configuration details.

Setup

Add the plugin to your Entity page in packages/app/src/components/catalog/EntityPage.tsx:

import {
  KongServiceManagerContent,
  isKongServiceManagerAvailable,
} from '@veecode-platform/backstage-plugin-kong-service-manager';

// Inside your EntityLayout:
<EntityLayout.Route
  if={isKongServiceManagerAvailable}
  path="/kong-service-manager"
  title="Kong"
>
  <KongServiceManagerContent />
</EntityLayout.Route>

The isKongServiceManagerAvailable guard ensures the tab only appears on entities that have the required annotation.

Annotate Your Entities

Add the kong-manager/service-name annotation to any catalog entity that maps to a Kong service:

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: my-service
  annotations:
    kong-manager/service-name: my-kong-service
spec:
  type: service
  owner: team-a

If you use multiple Kong instances, specify which one(s) the entity should use:

metadata:
  annotations:
    kong-manager/service-name: my-kong-service
    kong-manager/instance: production

When kong-manager/instance is omitted, all configured instances are available via the instance selector dropdown.

UI Overview

The plugin renders a tabbed interface on the entity page:

  • Service - Displays service info (protocol, host, port, path, timeouts, tags) and the list of associated plugins.
  • Plugins - Browse and manage service-level plugins. Add new plugins from the list of available Kong plugins, or edit/remove existing ones.
  • Routes - View, create, edit, and delete routes. Each route shows its protocols, methods, paths, hosts, and configuration flags.

Exports

| Export | Type | Description | |---|---|---| | kongServiceManagerPlugin | Plugin | Backstage plugin instance. | | KongServiceManagerContent | Component | Routable extension to mount on entity pages. | | kongServiceManagerApiRef | ApiRef | API reference for dependency injection. | | KongServiceManagerClient | Class | Default API client implementation. | | useEntityAnnotations | Hook | Reads Kong annotations from the current entity. |

Dynamic Plugin Wiring

Note: dynamic plugin loading is a feature supported by VeeCode DevPortal and by RHDH (Red Hat Developer Hub).

This plugin can be dynamically downloaded and installed from the public npm registry, as well as its UI elements can be configured without any source code changes:

plugins:
  - package: @veecode-platform/backstage-plugin-kong-service-manager-dynamic
    disabled: false
    pluginConfig:
      dynamicPlugins:
        frontend:
          veecode-platform.backstage-plugin-kong-service-manager:
            entityTabs:
              - path: /kong
                title: Kong
                mountPoint: entity.page.kong
            mountPoints:
              - mountPoint: entity.page.kong/cards
                importName: KongServiceManagerContent
                config:
                  layout:
                    gridColumn: "1 / -1"

VeeCode DevPortal already bundles the dynamic plugin as a pre-installed plugin with default configs, so it can be alternatively be loaded just using a local path:

plugins:
  - package: ./dynamic-plugins/dist/backstage-plugin-kong-service-manager-dynamic
    disabled: false
  - package: ./dynamic-plugins/dist/backstage-plugin-kong-service-manager-backend-dynamic
    disabled: false