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

@xyo-network/dapp-kit

v0.1.25

Published

Portable model and validation contracts for headless XL1 dApps

Downloads

4,695

Readme

@xyo-network/dapp-kit

Portable, environment-neutral model and validation contracts for headless XL1 dApps.

The package contains pure schemas, canonical document encoding/hashing, deterministic cross-document validation, neutral lifecycle ownership facades, durable effect contracts, and capability-driven XL1 transaction reconciliation. Dapp-kit documents use RFC 8785 JCS with document-kind domain separation and SHA-256; this codec is intentionally distinct from XYO payload and Bound Witness hashing. Current policy models cover actor effect authority, datalake access/protection/availability constraints, and opaque auxiliary-store capability bindings. Projection models add reducer/input declarations, per-chain floors, durable capability bindings, and verifiable checkpoint positions. Deterministic reducer and publication traces cover canonical input order, exact redelivery, historical protocol input, immutable generation hashing, and verified publish-head-last visibility. Coordination models make non-canonical side-channel criticality, limits, detached-signing capabilities, replay, audience, and expiry explicit. The D-029 neutral foundation adds version-aware document domains, stable event identity, complete accepted-byte fingerprints, strict event draft/record schemas, and pure append decisions for new, duplicate, and colliding events. It also defines retained/external event-stream and event-subscription resource requests, exact subscription-to-stream dependencies, idle | scheduled | running | blocked cursor transitions, fresh lease fences, exact durable consumer outcome proofs, retry-bound poison blocking, and a bounded for await pump over injected stream/subscription/consumer ports. Atomic append/read port contracts and a coalescing, generation-fenced wake-outbox state machine ensure that stale delivery completion cannot clear a newer request. This is neutral model and deterministic runtime evidence; it does not claim a crash-durable event provider, fan-out adapter, provider wake delivery, or exactly-once transport. External observation models bind declared source, provenance/finality evidence, and typed content hashes while generic outbound actuation remains rejected in V1. Pure lifecycle transitions cover bounded boot, pre-ready stop, draining, failure teardown, and idempotent terminal stop. Status documents keep health, liveness, readiness, per-operation writability, convergence, and incarnation identity separate. planXl1TransactionEffect() derives the next baseline action from a valid append-only receipt. createXl1TransactionEffectReconciler() dispatches that action through stage-specific injected capabilities and checks returned evidence against the planned content, transaction, or inclusion. recoverEffectJournal() captures a finite, effect-ID-ordered snapshot of every incomplete durable receipt, reconstructs each prepared prefix, selects a reconciler from its durable identity, and returns bounded complete/pending/cancelled/effect-limit state. The package performs no provider acquisition, actor construction, chain I/O, datalake I/O, key custody, concrete cryptographic implementation, projection storage, replay scheduling, transport, or ambient host access.

ObjectStoreReader and ObjectStoreWriter define the portable byte-object capability used by projection and checkpoint resources. The contract includes conditional writes, content metadata, deterministic listing, and paging without exposing a filesystem path, S3 bucket, database handle, or provider lifecycle. PrefixedObjectStore and RoutedObjectStore compose least-scope logical views; concrete durable implementations remain host adapters.

V1 side-channel envelopes use domain-separated JCS/SHA-256 signing hashes and XYO-compatible compact secp256k1 signature bytes. The neutral validator invokes an injected detached-signature verifier keyed by the authorized sender role; it does not own keys, construct accounts, or import a concrete signer/verifier.

Identity bindings remain opaque capabilities. Optional deterministic metadata records canonical XL1 BIP-44 child paths, expected addresses, exact-chain scope, and explicit rotation without carrying mnemonic or private-key material.

The package is published with UNLICENSED metadata; the repository's licensing and governance decision remains open.