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

@tobee94/toos

v0.1.2

Published

ToOS — an open-source, desktop-shell-styled React framework: window manager, fake terminal, theming, boot sequence, and a dynamic module system for pages.

Readme

ToOS

CI npm version License: MIT

A desktop-shell-styled React framework. Draggable windows, a taskbar, a start menu, boot/lock/shutdown/wipe screens, a real terminal with its own virtual filesystem, and a ready-made Settings panel — built for portfolio/personal sites that want a fake-OS aesthetic without writing a window manager from scratch.

guest@demo:~$ ls
docs/   start   about   terminal   settings   links/
guest@demo:~$ cd docs && ls
guide   api
guest@demo:~/docs$ open guide
opening: docs/guide …

ToOS ships zero content. No pages, no copy, no translations beyond its own small chrome vocabulary (boot screens, notifications, terminal messages). You register your own modules and supply your own copy — ToOS is the shell around them.

Try the demo → (clone it, npm install && npm run dev) or read the full documentation.

Features

  • 🪟 Window manager — draggable, resizable, minimize/maximize, tabbed windows with an automatic side nav once a window has more than one tab.
  • 🗂️ Menu & folders — a start menu built from a flat MenuItem[], with expandable folders for submenus. Folders are real terminal directories too, not just a visual grouping.
  • 💻 Terminal — a full REPL (history, reverse-search, tab-completion) driven by a plain command registry. Ships a ~30-command default pack (ls/cd/cat/open/rm, top/df/free/uptime, sudo/su, config/theme/language, …) plus a path-aware virtual filesystem shared between the menu, a ~/links folder, and your own commands.
  • ⚙️ Settings — a ready-made, four-tab preferences window (design, language, content, about) you can use as-is or pick apart.
  • 🎨 Theming — light/dark/system, a selectable accent colour, a pride skin, and a generic content-gate flag — all reactive, all persisted.
  • 🌐 Locale-agnostic — no router coupling; you own locale state and your own content translations, ToOS only ships its own small chrome vocabulary (currently de/en, plus an optional "klingon" overlay mechanism you can reuse for your own content).
  • 🔗 Deep linking — an onTopChange hook reports the focused window so you can sync it to your router, without ToOS knowing your routes exist.
  • 📦 Bring your own build — a Vite library build, raw (uncompiled) Tailwind v4 source so your own Tailwind pass picks up every class ToOS uses, and a file:-linkable local dev workflow.

Install

npm install @tobee94/toos
/* your app's CSS entry point */
@import "tailwindcss";
@import "@tobee94/toos/style.css";
import { useState } from "react";
import { ToOSDesktop, type SiteConfig, type MenuItem, type ModuleTab } from "@tobee94/toos";

const config: SiteConfig = {
  brand: <>my<span className="text-accent">site</span></>,
  user: "alex", host: "pc01", domain: "pc01.example.com",
  whoami: "alex — developer", version: "1.0.0", build: "42",
};

const MENU_ITEMS: MenuItem[] = [{ id: "start", label: "~", color: "text-accent" }];
const MODULES: Record<string, ModuleTab[]> = {
  start: [{ key: "main", label: { de: "", en: "" }, C: () => <p>Welcome.</p> }],
};

export default function App() {
  const [locale, setLocale] = useState("en");
  return (
    <ToOSDesktop
      config={config}
      locale={locale}
      onSwitchLocale={setLocale}
      initial="start"
      menuItems={MENU_ITEMS}
      resolveViews={(id) => MODULES[id] ?? MODULES.start}
      resolveBar={(id) => (id === "start" ? "~" : `~/${id}`)}
      resolveTitle={(id) => (id === "start" ? "" : id)}
    />
  );
}

That's a complete desktop: taskbar, start menu, boot animation, theming, and the reset/lock/reboot system screens, for free.

Documentation

| | | |---|---| | Getting started | Install, stylesheet setup, quick start | | Site config | SiteConfig, branding, cookie banner, motd | | Modules & the menu | ModuleTab, MenuItem, folders/submenus, tabbed windows | | Settings | The ready-made Design/Language/Content/About tabs | | Terminal | Command registry, the virtual filesystem, writing your own commands | | Theming & locale | Accent/pride/dark-mode, locale, the klingon overlay | | Deep linking | Wiring the focused window to your router |

What's deliberately out of scope

  • Any personal content, translations, or SEO/meta tags — all consumer-owned.
  • Analytics — wire up your own component alongside <ToOSDesktop>.
  • Routing / SSR prerendering setup — bring your own (e.g. vite-react-ssg).

Contributing

npm run typecheck   # tsc --noEmit
npm run lint        # eslint . (typed rules — react-hooks, typescript-eslint recommended + stylistic)
npm run build       # typecheck + vite library build

All three run in CI on every push/PR (see .github/workflows/ci.yml).

License

MIT © Tobias Vorwachs