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

trellis

v3.2.3

Published

Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications

Readme


Most agent frameworks pour everything into the reasoning engine and treat state as an afterthought. Trellis inverts that. It is the system of record for decisions: a persistent, queryable, auditable memory where every thought, tool call, and file change is an immutable operation in a causal graph. It runs fully offline — servers may relay, accelerate, or back up, but never own your state.

  • Durable memory — every op is content-addressed and never rewritten or deleted.
  • Explainable by default — decision traces record not just what happened, but why.
  • Safe to explore — branch state to try multiple paths, then merge or discard.
  • Realtime — one write updates current state, durable history, and every live subscriber.

Install

npm install -g trellis

Quick start

mkdir my-project && cd my-project
trellis init      # guided or one-shot setup
trellis ui        # live graph explorer
trellis code      # start an agent coding session

Track work as graph-native entities instead of text commits:

trellis issue create -t "Bootstrap viz"
trellis milestone create -m "Initial release"
trellis garden                          # discover & revive abandoned work
trellis query 'find ?e where type = "Task"'

Build a realtime app

Scaffold a typed, live-graph app — React, Vue, or Svelte — backed by Trellis:

npm create trellis@latest
import { defineType } from 'trellis/schema';
import { z } from 'zod';

export const Task = defineType('Task', { title: z.string(), done: z.boolean() });
<script>
  import { entitiesStore, mutations } from 'trellis/svelte/typed';
  const tasks = entitiesStore(client, Task);  // re-renders live, across every client
  const task = mutations(client, Task);
</script>

A single mutation produces current state, durable history, and a realtime push to every subscriber — the same write path.

API surface

The trellis package exposes focused subpaths:

| Import | Purpose | | --- | --- | | trellis/client | Local + remote client SDK | | trellis/schema | defineType, typed entities, EQL-S queries | | trellis/{react,vue,svelte}/typed | Live, schema-typed reads + mutations | | trellis/realtime | Presence, chat, CRDT text | | trellis/cms | Read content collections over HTTP | | trellis/server | HTTP + WebSocket DB server |

Documentation

Develop

bun install   # requires Bun ≥ 1.0
bun test
bun run build

License

AGPL-3.0-or-later © Turtle Labs LLC