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

@c9up/helix

v0.1.6

Published

Helix — framework-agnostic test runtime for the Ream ecosystem (Vitest-compatible runner, spies, container overrides, time-travel). Per-package fakes live in each package's /testing.

Readme

@c9up/helix

Unified testing toolkit for the Ream ecosystem — bus, HTTP, and DB fakes, fluent assertions, container overrides, time-travel, plus a Vitest-compatible test runner CLI.

Sub-barrels

  • @c9up/helix/bus — Event bus assertions (emitted events, ack chains)
  • @c9up/helix/http — fluent HTTP TestClient with assertions + auth
  • @c9up/helix/db — factory, useTransaction, truncateAll, in-memory SQLite
  • @c9up/helix/runtime — Vitest-compatible DSL (test, describe, expect, vi, lifecycle hooks)

CLI

helix test [paths...]            # run a one-shot suite
helix test --watch               # re-run on file changes
helix test --coverage            # V8 coverage + LCOV + thresholds
helix test --diff-cov            # diff coverage vs main branch

Self-testing (Stage 2a — coexistence)

Helix is currently tested by two runners in parallel:

  • pnpm test — vitest runs tests/integration/**. This is the established safety net: every commit must verdict pass here.
  • pnpm test:self — helix runs tests/selftest/**. This is helix testing itself: the runtime DSL, lifecycle hooks, spies, fake timers, and a small set of parity proofs. Vitest is excluded from tests/selftest/** so it doesn't touch helix-DSL imports.

Both commands run independently in CI. Stage 2b will retire vitest once the helix self-test corpus reaches parity coverage with the vitest suite.

Parity proofs

A handful of identical test bodies live in BOTH directories (tests/selftest/parity-*.test.ts and tests/integration/parity-*-mirror.test.ts). When both runners pass the same assertions, helix's matcher semantics are compatible with vitest's for the asserted surface area. The mirror pairs currently cover:

  • equality matchers (toBe, toEqual, not.toBe)
  • string / array toContain
  • assertion failure shapes (AssertionError thrown, message contains both received and expected values)

What the parity proofs do NOT cover today:

  • Lifecycle hook semantics across runners (beforeEach/afterEach behaviour is exercised in tests/selftest/lifecycle.test.ts only).
  • Spy / fake-timer parity (vi.fn, vi.spyOn, vi.useFakeTimers).
  • Failure-pipeline parity (i.e. that both runners REPORT a failed test the same way, at the runner level). The current parity-fail mirrors catch the failure in-process, so both runners verdict pass on those files — only the matcher message format is compared.

A divergence guard in tests/integration/parity-mirror-divergence.test.ts asserts the mirror bodies stay byte-identical (modulo the runner import line). Stage 2b's vitest retirement plan must include deleting tests/integration/parity-*-mirror.test.ts and the divergence guard itself, since they exist solely to bridge the two runners.

The Stage 2b cutover criterion is "every runtime DSL surface (describe, test, expect.*, lifecycle hooks, vi.*) has at least one selftest, and the runner-level failure pipeline is proven via a fixture + child-process pattern". When that bar is met, vitest can be removed; until then it stays as the safety net.