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

@vizij/runtime

v2.4.0

Published

Run a Vizij runtime in the browser as an Arora device: wasm bindings over arora-web's BrowserRuntime.

Readme

@vizij/runtime

Run a Vizij runtime in the browser.

The wasm module (built from crates/interop/vizij-arora-web) composes an arora device over the Vizij interop seams — a blackboard store, a rig HAL, and your node graph as its behavior — and wraps it with arora-web's browser JS surface. One runtime, one store: the graph reads its input nodes' paths from the store each tick and writes its outputs back, and JS talks to the same store.

Use

import { init, startRuntime } from "@vizij/runtime";

await init();
const runtime = await startRuntime(graphSpec); // a Vizij graph spec (object or JSON)
runtime.run(); // the runtime paces itself from here on (the promise only ever rejects)

// any time — the store surface stays live while the runtime runs:
runtime.setValue("sensor/x", { f32: 0.75 });
const changes = runtime.drainChanges(); // path -> ValueJSON | null
// The FIRST drain returns the store's whole current state.

// swap the running graph in place (store, modules, runtime all survive):
await runtime.loadGraph(otherGraphSpec);

A host with its own clock skips run() and calls runtime.step(dtMs) per frame instead (e.g. from requestAnimationFrame timestamps); step() becomes unavailable once run() has taken the runtime.

Standard profiles

Vizij ships built-in standard profiles — graphs that map an external face standard onto Vizij's own (currently the ROS4HRI face standard). An authoring app can list them and embed one into a face:

import { standardProfiles, standardProfile } from "@vizij/runtime";

standardProfiles();                       // [{ id, title, description }] — the menu
const graph = standardProfile("ros4hri", "rig/<faceId>/"); // the profile graph as an object

standardProfiles() is the introspectable list of what a face may opt into. standardProfile(id, rigPrefix) returns the profile's node-graph (its output paths prefixed for the target face), ready to compose into a graph spec or embed into a GLB via the bundle tool.

Values cross the boundary in the normalized ValueJSON vocabulary from @vizij/value-json; setValue/writeValues accept its ValueInput shorthands.

Build

The pkg/ wasm artifacts are produced by wasm-pack from the repository root:

pnpm run build:wasm:arora-web   # wasm-pack build -> npm/@vizij/runtime/pkg
pnpm --filter @vizij/runtime run build