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

@doxajs/runtime

v0.1.0-alpha.33

Published

Artifact-only dependency injection, execution, dispatch, and lifecycle runtime for Doxa.

Readme

@doxajs/runtime

Controlled-adoption prerelease: Publicly downloadable under Apache-2.0; Midtown Home Improvements is the sole supported consumer. External use is permitted without compatibility, support, warranty, roadmap, or production-readiness commitments.

The artifact-only Doxa runtime. It validates compiled artifacts, constructs the dependency graph, admits execution scopes, dispatches framework roles, and owns deterministic lifecycle behavior. If a startup hook exceeds its deadline, Doxa aborts it and gives it one bounded settlement window. A late-completing hook joins reverse-order stop and disposal; a non-settling hook cannot block boot failure forever or race cleanup. Settlement, stop, and disposal share deadlines.cleanup, which defaults to 30 seconds and caps their individual phase deadlines. Late rejection and LifecycleCleanupTimeoutError remain secondary; the normalized startup timeout stays primary.

For transaction managers that declare shared-client serialization, concurrent model operations retain their owning transaction and snapshot. Runtime records one diagnostic per affected model session, warns outside production that Promise.all adds no database parallelism, and leaves production warning logs quiet.

The runtime never compiles source. Ordinary Feature and domain code should import @doxajs/core, not this package.

Every admitted execution resolves a clock, IANA time zone, and locale for first-party Graphite datetimes. Application configuration defaults to UTC and en-US; an execution seed may override the locale or time zone. Clock-relative APIs fail outside admission rather than reading the host clock or host time zone implicitly. Durable context carries locale and time zone, never mutable clock state.

Authorization resolves an application's selected permission source at most once per admitted execution, applies credential constraints first, and permits policies only to narrow source grants. Permission results never enter propagated execution context. Runtime-invoked permission sources and policies receive ambient read-only model access: queries share their read session, actions and jobs use an isolated read-only identity map over the owning Unit of Work, and standalone authorization opens a bounded read transaction only when application evaluation is required.

Queued work gets a fresh execution and re-evaluates current application permissions. When dispatch explicitly carries delegated user authority, the accepted actor, initiator, delegation, and bounded authentication attribution remain fixed across attempts; later impersonation stop or expiry prevents new dispatch without rewriting already-durable work.

Job cancellation closes the writable model session and rejects its transaction before a late handler can commit. Already-started database operations drain into rollback; later model access is stale. External effects remain at least once and require idempotency.

Praxis may boot the named model-reader profile for Gnosis. That profile validates the same artifacts but starts only the transaction provider's declared dependency closure and admits only the bounded model-record query entrypoint from an authenticated system console execution; it is not a general partial-application boot mechanism.