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

@exellix/exellix-matrix-read

v1.0.4

Published

Read-only execution-matrix data tier: entity+graph job history, status counts, and dashboard queries over @exellix/exellix-runtime.

Downloads

87

Readme

@exellix/exellix-matrix-read

Read-only execution-matrix data tier — programmatic and HTTP access to entity+graph job history, status counts, and execution output. Independent of @exellix/exellix-jobs (the worker).

Use this when Studio, BFF, or analytics need answers like:

  • For entity type X and graph Y, how many matrix rows are processed / failed / waiting?
  • What jobId, timestamps, and inference ran for each graph slot?
  • Memorix entity statistics joined with matrix rows for one namespace.

Boundaries

| Package | Role | |---------|------| | @exellix/exellix-matrix-read | Read tier + optional read HTTP | | @exellix/exellix-jobs | Claim, execute, operator control (pause, PATCH) | | @exellix/exellix-runtime | Row shapes, orchestration, low-level read helpers | | @x12i/xmemory-store | Matrix + Memorix persistence factories |

No mongodb / @x12i/xronox-store in this package’s dependencies.

Programmatic API

import { openMatrixReadTier } from '@exellix/exellix-matrix-read';

const tier = await openMatrixReadTier({
  mongoUri: process.env.MONGO_URI,
});

// Counts by slot status for one graph (optional inputGroupByPath for per-entity buckets)
const dashboard = await tier.graphDashboard({
  matrixCatalogId: 'my-matrix',
  graphId: 'my-graph',
  inputGroupByPath: 'entityKind',
});

// Per-row graph slots: status, jobId, inference
const overview = await tier.multiGraphOverview({ matrixCatalogId: 'my-matrix' });

// waiting / in-progress / processed / failed / skipped
const join = await tier.sourceJoinView({
  matrixCatalogId: 'my-matrix',
  graphId: 'my-graph',
});

await tier.close();

Entity facet (Memorix + matrix)

Pass memorixTier from @x12i/xmemory-store (createXmemoryDataTier) when opening the tier, or set MATRIX_READ_MEMORIX_ENABLED=true for read:serve.

const tier = await openMatrixReadTier({
  mongoUri: process.env.MONGO_URI,
  memorixTier: createXmemoryDataTier(),
});

const facet = await tier.entityFacet({
  entityType: 'widget',
  namespace: 'tenant-a',
  matrixCatalogId: 'my-matrix',
  graphId: 'my-graph',
});

Read HTTP server

MONGO_URI=... npm run read:serve

Default port 8090, prefix /v1.

| Method | Path | Purpose | |--------|------|---------| | GET | /health | Liveness | | GET | /matrices/:catalogId/graphs/:graphId/dashboard | Status counts (+ optional inputGroupByPath) | | GET | /matrices/:catalogId/graphs/:graphId/navigator | Paginated rows + histogram | | GET | /matrices/:catalogId/graphs/:graphId/join-view | Pipeline buckets | | GET | /matrices/:catalogId/overview | Multi-graph slot view per row | | GET | /entities/:entityType/facet?namespace= | Memorix + matrix facet |

Relation to the worker

Both packages open the same matrix persistence (operational + config DBs). The worker writes rows while claiming; this package reads them. Deploy separately: worker replicas for execution, read tier for dashboards (can scale read replicas independently).