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

@reventlessdev/reventless-interop

v3.0.0-alpha.26

Published

Versioned cross-plugin contract types and compatibility validation for Reventless

Readme

npm License: Apache-2.0 Docs

@reventlessdev/reventless-interop

⚠️ Alpha. APIs and on-disk formats can change without notice between releases. Pin exact versions and expect breaking changes.

The cross-plugin interoperability layer of Reventless — a spec-driven, event-sourced CQRS framework written in ReScript. This package defines the versioned contract types that plugins exchange across stack boundaries and the compatibility validation that guards those contracts, so independently deployed plugins can wire together without silently drifting apart. Modules are exposed under the ReventlessInterop namespace.

What it provides

ReScript modules, consumed by adding the package to your rescript.json dependencies.

Protocol compatibility

  • Compat — validates that an extension's declared protocol versions are compatible with the host extension point's, producing typed protocolError variants (incompatible command schema, incompatible event schema, malformed version).
  • ExtensionPointProtocol — the SemVer-based schema-version declarations (commandVersion, eventVersion) an extension point carries, plus the compatibility rule and version policy (MINOR bump on additive changes, MAJOR on removals/renames).
  • CompatMatrix — the authoritative host-side protocol versions for the built-in extension points, compared against incoming plugin handshakes.

Cross-stack export contracts

  • ExportMeta — the metadata (interop version + per-export field manifest) written alongside every plugin stack's named outputs, enabling forward/backward-compatible reads.
  • Query / Projection — functors for querying remote stack dependencies: declare the fields a projection needs from a remote stack's manifest and decode the raw export JSON only after field validation passes.
  • Resource — the Output.t-free, JSON-safe counterpart of an adapter resource, as it appears in serialized stack exports.
  • components/resolvedOutputs types (the JSON-safe cross-stack shapes) for each component kind: Plugin, Aggregate, ReadModel, EventLog / DcbEventLog, CommandTopic, EventTopic, EventMapper, QueryDb, ExtensionPoint, Task, and the DCB slices.

Where it fits

reventless-interop is a framework-level package that plugins use to talk to one another across deployment boundaries:

reventless-spec (specifications)
  ↓
reventless-core (provider-agnostic framework)  +  reventless-interop (cross-plugin contracts)  ← this package
  ↓
reventless-aws / reventless-postgres / reventless-local (storage & deployment adapters)

It pairs with @reventlessdev/reventless-core and the storage/cloud adapters (reventless-aws, reventless-postgres, reventless-local), adding the version negotiation and stack-export contracts that let separately deployed plugins interoperate safely.

You normally obtain reventless-interop transitively by scaffolding an app rather than installing it on its own.

Install

pnpm add @reventlessdev/reventless-interop

Then register it as a ReScript dependency in rescript.json:

{
  "dependencies": ["@reventlessdev/reventless-interop"]
}

Requires ReScript ^12.3.0 (peer dependency).

Links

License

Apache-2.0