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

satus2

v1.0.0

Published

Lightweight reactive UI framework for browser extensions

Readme

Satus2

A lightweight UI framework for building browser extension interfaces — popups, options pages, sidepanels, and devtools panels.

Satus2 is a reactive, plugin-based framework purpose-built for the Chrome/Firefox extension environment. It handles reactivity, rendering, routing, storage sync, cross-context messaging, and theming — all in a single cohesive package with no external dependencies.


Features

  • Reactive store — Proxy-based state with fine-grained subscriptions, batching, and middleware
  • Declarative renderer — Skeleton-object rendering model with automatic garbage collection
  • Plugin architecture — Install only what you need (ThemePlugin, RouterPlugin, StoragePlugin, BridgePlugin, etc.)
  • JSX support — Optional hyperscript layer (h / Fragment) for JSX-style authoring
  • Cross-context messagingBridge (runtime messages), IPC (long-lived ports), Mesh (background state sync), RPC (background function calls)
  • Theme engine — Light/dark/auto modes with named browser presets (chrome, firefox, safari, minimal) and density settings
  • Built-in components — Button, Toggle, Input, Select, Modal, Tabs, Tooltip, and more via CommonComponentsPlugin
  • Accessibility — Focus trapping, roving tabindex, ARIA live regions
  • DevTools — Time-travel debugger with step-back/forward and a mountable inspector widget

Install

npm install satus2

Or import directly as an ES module from your extension's source.


Quick Start

import satus2, { FullPlugin } from 'satus2';

// FullPlugin installs: Theme, Router, Toast, A11y, Storage, Bridge, IPC, Mesh, RPC, CommonComponents
satus2.use(FullPlugin);

// Set initial state
satus2.store.user = { name: 'Ada', premium: false };

// Render a component
satus2.render({ component: 'div', text: 'Hello from Satus2!' }, document.body);

// React to state changes
satus2.bind('user.name', name => console.log('Name changed:', name));

Core Concepts

| Concept | API | |---|---| | Reactive state | satus2.store.key = value | | Subscribe | satus2.bind('key', cb) | | Signals | satus2.signal(initialValue) | | Effects | satus2.effect(() => { ... }) | | Render | satus2.render(skeleton, container) | | Navigate | satus2.router.push('/settings') | | Storage | satus2.storage.get('key') | | Messaging | satus2.bridge.send('action', payload) | | Toast | satus2.toast.success('Saved!') | | Theme | satus2.theme.apply('chrome', { mode: 'dark' }) |


Plugin System

import { createFramework, StoragePlugin, BridgePlugin, ThemePlugin } from 'satus2';

const fw = createFramework();
fw.use(ThemePlugin);
fw.use(StoragePlugin);
fw.use(BridgePlugin);

Every plugin is a plain function (fw) => void, making custom plugins trivial to write.


License

MIT — MIT License