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

@ramme-io/kernel

v3.1.0

Published

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Readme

@ramme-io/kernel

License: MIT

The core routing, rendering, and state engine for Ramme applications.

The Kernel is the brain of every Ramme app. It reads your declarative configuration files (app.manifest.ts and sitemap.ts), constructs the routing tree, and dynamically renders the correct components via the component registry — all without you writing a single line of routing code.


Architecture

The Kernel operates on three core inputs:

1. The Manifest (app.manifest.ts)

The global configuration for your application. Defines the app title, description, default theme, and high-level settings.

// src/config/app.manifest.ts
export const appManifest = {
  name: 'My Ramme App',
  description: 'A hardware-accelerated dashboard.',
  theme: 'midnight',
  version: '1.0.0',
};

2. The Sitemap (sitemap.ts)

The declarative routing and navigation structure. Each entry defines a page, its path, the component to render, and its position in the navigation hierarchy.

// src/config/sitemap.ts
export const sitemap = [
  {
    path: '/',
    label: 'Dashboard',
    icon: 'layout-dashboard',
    component: 'DashboardPage',
  },
  {
    path: '/settings',
    label: 'Settings',
    icon: 'settings',
    component: 'SettingsPage',
  },
];

3. The Component Registry (component-registry.tsx)

Maps the string-based component names from the sitemap to actual React components. This is what allows the Kernel to dynamically render your pages without hardcoded imports in the router.

// src/core/component-registry.tsx
import { lazy } from 'react';

export const componentRegistry: Record<string, React.LazyExoticComponent<any>> = {
  DashboardPage: lazy(() => import('../pages/DashboardPage')),
  SettingsPage: lazy(() => import('../pages/SettingsPage')),
};

How It Works

  1. Boot — The Kernel reads app.manifest.ts and applies global settings (theme, metadata).
  2. Parse — It ingests sitemap.ts and constructs a routing tree from the declarative page definitions.
  3. Resolve — For each route, the Kernel looks up the component key in the component registry.
  4. Render — The resolved React component is lazy-loaded and rendered inside the application shell.

The developer never writes <Route> elements manually. The Kernel handles all routing, code-splitting, and navigation generation from the sitemap alone.


Integration

In a standard Ramme app (generated by @ramme-io/create-app), the Kernel is pre-wired. If integrating manually:

import { ManifestProvider } from '@ramme-io/kernel';
import { appManifest } from './config/app.manifest';
import { sitemap } from './config/sitemap';
import { componentRegistry } from './core/component-registry';

export default function App() {
  return (
    <ManifestProvider
      manifest={appManifest}
      sitemap={sitemap}
      registry={componentRegistry}
    >
      {/* The Kernel renders your app here */}
    </ManifestProvider>
  );
}

Key Exports

  • ManifestProvider — The root context provider that hydrates the app with manifest and sitemap data.
  • useManifest() — Hook to access the current app manifest from any component.
  • useDevice() — Hook for consuming normalized telemetry data from connected hardware.
  • MqttProvider — Context provider for real-time MQTT/Ably device communication.

Documentation

For full documentation, visit https://ramme.io/docs.


License

MIT License — Copyright © 2026 Ramme Framework.

See LICENSE for details.