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

@aetherius/client

v0.3.0

Published

Thin TypeScript client for the Aetherius daemon. Load a Blueprint, run it, stream events.

Readme

@aetherius/client

Thin TypeScript client for the Aetherius daemon. Load an existing Blueprint, run it, and stream its events — from any Node process. The Console is never involved at runtime; execution is fully code-driven.

The engine is Python. This client talks to the local daemon (aetherius serve) over HTTP + WebSocket. It either spawns a daemon for you or targets one you already run. The wire contracts live in contracts/ (OpenAPI + the events schema) and are the source of truth.

Requirements

  • Node 20+.
  • The Aetherius Python package installed and on PATH (so the client can spawn aetherius serve), unless you point the client at an already-running daemon via baseUrl.

Install

npm install @aetherius/client

Usage

Spawn a local daemon automatically, run a Blueprint, stream events:

import { Aetherius } from "@aetherius/client";

const client = new Aetherius();
try {
  const result = await client.run("blueprints/ukit-planning-week.blueprint.json", {
    inputs: { group: "TP-A1", monday: "2026-09-07" },
    onEvent: (event) => console.log(event.type, event.message ?? ""),
  });
  console.log(result.status, result.outputs);
} finally {
  await client.close(); // stops the daemon this client spawned
}

A Blueprint may be a path the daemon resolves, or an inline object:

const result = await client.run({ aetherius: "1.0", name: "demo", act: "vector", steps: [/* ... */] });

Target an already-running daemon (no spawn, no close() teardown needed):

const client = new Aetherius({ baseUrl: "http://127.0.0.1:8787", token: "s3cr3t" });

Subscribe to a run's events on their own (resolves when the run finishes):

await client.onEvent(runId, (event) => console.log(event));

Configuration

new Aetherius(config):

| Option | Default | Purpose | | ---------------- | ----------------------- | ------------------------------------------------------------------- | | baseUrl | spawn a local daemon | Target an already-running daemon instead of spawning one. | | token | none | Bearer token, when the daemon is started with one. | | command | ["aetherius", "serve"]| argv to spawn the daemon (e.g. ["python3", "-m", "aetherius", "serve"]). | | startTimeoutMs | 10000 | How long to wait for the spawned daemon to become healthy. |

Development

npm run build   # tsc, emits dist/
npm test        # build + node --test (unit transport tests + a real spawn E2E)

The E2E test skips cleanly when the Aetherius package is not importable. From the repo root, make test-ts runs the same thing.