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

@gnolith/waystone

v0.2.1

Published

The accessible human interface and extension surface for Gnolith research Sites.

Downloads

577

Readme

Waystone

The accessible human interface and extension surface for Gnolith research Sites.

@gnolith/waystone provides the Gnolith application shell, seven-kind unified search, Resource/Annotation/Prompt workflows, search operations, Taproot knowledge browsing and maintenance UI, revision inspection, SPARQL workspace, browser-safe Site API client, compiled theme, and static plugin contract used by Workshop and future modules.

Waystone is a UI and protocol-consumer package. It does not access D1 or R2, project RDF, implement authentication or authorization, create App Router files, run MCP tools, or import Workshop. The host Site owns those systems and composes Waystone with its generated HTTP routes.

Headless and process-based consumers compose Gnolith's non-UI packages directly and must not import Waystone. Waystone belongs only in browser and rendered Site surfaces; persistence, process lifecycle, CLI, and container assembly remain outside this package.

Status

Waystone 0.2 is a pre-1.0 public API. Its isolated consumer fixture installs the exact package archive, builds representative routes, server-renders the public UI surfaces, and exercises the package-owned fixture plugin. Complete Site assembly and hosted acceptance belong to the Site host. See the dependency record and release evidence.

Install

npm install @gnolith/waystone @gnolith/taproot react react-dom @types/react

Import the precompiled CSS once in the generated Site layout:

import '@gnolith/waystone/styles.css';

The host does not transpile Waystone source or scan it with Tailwind.

Public entry points

  • @gnolith/waystone — server-safe display components, protocol models, formatters, and public errors.
  • @gnolith/waystone/client — browser-safe HTTP client, search, knowledge editors, revision controls, and SPARQL editor.
  • @gnolith/waystone/plugin — plugin contracts, validation, registry, provider, and extension points.
  • @gnolith/waystone/site — page-level application composition for generated routes.
  • @gnolith/waystone/fixtures — representative entities, results, plugins, failures, and a mock client for development only.
  • @gnolith/waystone/styles.css — compiled production CSS.

Every JavaScript entry has declarations. React, its public React 19 types, and Taproot are peers; React is never bundled. Waystone's declarations expose local structural Taproot protocol types, so importing the UI package does not resolve Taproot's persistence or RDF declaration graph.

Site composition

'use client';

import { createWaystoneClient } from '@gnolith/waystone/client';
import { createWaystoneRegistry } from '@gnolith/waystone/plugin';
import { GnolithHome, GnolithShell } from '@gnolith/waystone/site';

const client = createWaystoneClient();
const registry = createWaystoneRegistry([]);

export function Home() {
  return (
    <GnolithShell
      registry={registry}
      client={client}
      title="Research Site"
      subtitle="One bounded research project"
      currentPath="/"
    >
      <GnolithHome
        client={client}
        summary={{ items: 18, properties: 7, statements: 64 }}
      />
    </GnolithShell>
  );
}

Generated routes should create the client and registry once at module scope. Authentication can be supplied with getAccessToken; the package neither stores tokens nor logs them.

Guides

Development

npm ci
npm run check
npm pack --dry-run

npm run check formats, lints, type-checks, runs coverage and accessibility tests, builds declarations and CSS, verifies runtime and declaration graphs and tarball contents, compiles exact packed TS and TSX consumers with strict TypeScript 5.9, and enforces bundle budgets.

Compatibility

  • React and React DOM: >=19 <20
  • React declarations: @types/react >=19 <20
  • Node for development: >=22
  • Runtime exports: ESM and Web APIs, with package verification rejecting Node and Cloudflare imports reachable from public entry points
  • TypeScript consumers: strict projects on currently supported TypeScript 5.9+
  • Taproot: optional >=0.4.0 <0.5.0; browser-safe models and lossless adapters match the exact 0.4.0 search, Resource, Annotation, statement, and command contracts.
  • Workshop: optional >=0.4.1 <0.5.0; exact 0.4.1 search uses POST /api/workshop/search, Prompt CRUD/history uses /api/workshop/prompts, and administration uses GET/POST /api/workshop/search/admin.

Security

Waystone renders React text rather than untrusted HTML, treats external destinations as untrusted, and reports authorization decisions from the server without pretending client controls enforce policy. Report vulnerabilities according to SECURITY.md.

License

MIT