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

@kubuno/sdk

v0.1.6

Published

Kubuno module SDK — the stable surface (registries, stores, hooks, i18n, widgets) that runtime-loaded modules build against. Provided by the host at runtime via the import map; this package ships the type surface.

Readme

@kubuno/sdk

npm License: AGPL v3 Docs

The module SDK for Kubuno — the stable surface that runtime-loaded modules build against.

Kubuno modules are independent processes whose frontend is an ESM bundle loaded by the host at runtime via an import map. @kubuno/sdk is the contract between the host and those modules: registries, stores, hooks, i18n and widgets. The real implementation (the host's singletons) is provided at runtime — this package ships the type surface so a module can build and type-check on its own.

Overview

The SDK re-exports the host's stable extension points, including:

  • RegistriesRouteRegistry, SlotRegistry, WaffleAppRegistry, FaviconRegistry, FileTypeRegistry, WidgetRegistry, ExtensionRegistry, ModuleServiceRegistry.
  • Stores (Zustand)useAuthStore, useModulesStore, useSidebarStore, useToolbarStore, useSearchStore, useNotificationStore, useWsStore, …
  • Hooks & helpersuseConfirm, usePrompt, useAutosave, useDraggable, i18n (t, getDateLocale), the api client, DashboardWidget, WorkspaceShell.

Compatibility

| @kubuno/sdk | Kubuno core | SDK_VERSION | React | | --- | --- | --- | --- | | 0.1.x | 0.1.x | 1 | 19 |

A module declares the sdkVersion it was built against; the host rejects an incompatible module at load time.

Install

npm install @kubuno/sdk

Peer dependencies (@kubuno/ui, react, react-dom, react-router-dom, @tanstack/react-query, zustand, i18next, react-i18next, date-fns, lucide-react) are provided by the host at runtime.

Usage

A module's entry point registers itself against the SDK registries:

import { lazy } from 'react'
import { RouteRegistry, WaffleAppRegistry } from '@kubuno/sdk'

export const sdkVersion = 1

export function register() {
  WaffleAppRegistry.add({ id: 'calendar', label: 'Calendar', path: '/calendar' })
  RouteRegistry.add({ path: '/calendar/*', element: lazy(() => import('./CalendarApp')) })
}

Runtime note: mark @kubuno/sdk as external in your module build. The host resolves it to its singleton instances through the import map; bundling a copy would break shared state (stores, registries). This package exists for build-time types only (its JS entry is a stub that throws if ever executed).

License

AGPL-3.0-or-later © Kubuno contributors.