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

@boringos/ui

v0.1.8

Published

Typed API client + headless React hooks

Readme

@boringos/ui

Typed API client and headless React hooks for building dashboards on top of BoringOS. No markup, no styles -- just data and mutations.

Install

npm install @boringos/ui

Usage

API Client (framework-agnostic, no React)

import { createBoringOSClient } from "@boringos/ui";

const client = createBoringOSClient({
  url: "http://localhost:3000",
  apiKey: "your-admin-key",
  tenantId: "your-tenant-id",
});

const health = await client.health();
const agents = await client.getAgents();
const task = await client.createTask({ title: "Review PR", assigneeId: "agent_1" });

// Realtime events via SSE
const unsubscribe = client.subscribe((event) => {
  console.log(event.type, event.data);
});

React Hooks

import { BoringOSProvider, createBoringOSClient, useAgents, useTasks } from "@boringos/ui";

const client = createBoringOSClient({ url: "http://localhost:3000", apiKey: "..." });

function App() {
  return (
    <BoringOSProvider client={client}>
      <Dashboard />
    </BoringOSProvider>
  );
}

function Dashboard() {
  const { agents, isLoading, createAgent } = useAgents();
  const { tasks, createTask } = useTasks({ status: "open" });
  // render with your own components...
}

API Reference

Client

| Export | Description | |---|---| | createBoringOSClient(config) | Typed fetch wrapper for all REST endpoints |

React

| Export | Description | |---|---| | BoringOSProvider | Context provider wrapping TanStack Query | | useClient() | Access the client instance from context |

Hooks

| Hook | Data | Mutations | |---|---|---| | useAgents() | Agent list | createAgent, wakeAgent | | useTasks(filters?) | Task list | createTask | | useTask(taskId) | Task + comments | updateTask, postComment, assignTask, addWorkProduct | | useRuns(filters?) | Runs (polls 5s) | cancelRun | | useRuntimes() | Runtime list | createRuntime, setDefault | | useApprovals(status?) | Approval list | approve, reject | | useConnectors() | Connector list | invokeAction | | useProjects() | Project list | -- | | useGoals() | Goal list | -- | | useOnboarding() | Onboarding state | -- | | useEvals() | Evaluation list | -- | | useInbox() | Inbox items | -- | | useEntityRefs(type, id) | Entity references | -- | | useSearch(query) | Cross-entity search | -- | | useHealth() | Server status (30s) | -- |

Types

BoringOSClient, BoringOSClientConfig, TaskWithComments, ConnectorInfo, HealthStatus

Part of BoringOS