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

@kwirthmagnify/kwirth-common

v0.5.77

Published

Common interfaces for integrating applications with Kwirth

Readme

@kwirthmagnify/kwirth-common

The shared vocabulary of Kwirth: the types, enums and small helpers that the Kwirth core, its web front end and every Kwirth extension agree on.

Kwirth is an observability and operations tool for Kubernetes — logs, metrics, events and a marketplace of extensions (channels, providers, senders, webhooks, themes, DCEs…) running inside one server. This package has no runtime dependencies on Node or on the browser, so the same types are used on both ends.

What is in it

  • Channel messages — instance configuration, instance and signal messages, route messages: the wire format between a channel's front end and its back end.
  • Access — API keys and access keys, and parsing their resources and scopes.
  • Extensions — the extension types, their configuration fields and RBAC scopes, marketplace and package-registry metadata, configuration bundles.
  • Thin scopes — a scope a channel narrows with a configuration only it understands, as channel#scope#<base64> beside the usual channel$scope. buildThinScope() composes one and parseThinScope() takes it apart, returning undefined for anything it does not recognise — including a classic scope — so a token a channel does not understand grants nothing without anybody writing code for it.
  • Where Kwirth runs — the execution environment (EExecutionEnvironment: Kubernetes, Docker, desktop, ECS, Cloud Run, ACI) and the installation identity (IInstallationIdentity, EInstallationIdSource): the stable id extensions persist and federate by, also when there is no Kubernetes.
  • Contracts the core lends to channels — sender and webhook access, the published HTTP routes (IRouteAccess, ERouteOwnerKind), the installed DCEs (IDceAccess, IDceMeta, registry entries) and the installed plugins' status (IPluginAccess, IPluginStatus, EPluginState, IChannelInstances).

Who uses it

You do not install this in Kwirth: it is a dependency for building extensions. A channel's back end usually takes it through @kwirthmagnify/kwirth-common-back, which re-exports it.

npm install @kwirthmagnify/kwirth-common

At runtime a plugin does not bundle it: the Kwirth core serves its own copy (window.__kwirth__.kwirthCommon in the browser, global.__kwirth_back__.kwirthCommon in the server), so every extension sees the version of the core it runs in.

Links

  • Kwirth: https://kwirthmagnify.dev
  • Source: https://github.com/kwirthmagnify/kwirth (folder common)