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

@x12i/memorix-resolvers

v1.33.0

Published

Pluggable resolver APIs for Memorix — normalize join keys, bridge lookups, and domain-specific relationship resolution

Readme

@x12i/memorix-resolvers

Pluggable resolver APIs for Memorix. Resolvers normalize join keys, bridge lookups, and domain-specific relationship signals without baking domain knowledge into the pipeline engine.

Used in:

  • Pipeline resolution / enrichment stages — via descriptor processing.resolvers (see memorix-pipeline)
  • Associator requests — optional resolvers / normalization blocks before cross-record join rules

Design

  • Resolver registry — register built-in and custom resolver types.
  • Resolver steps — run one or more resolvers against a source record.
  • Domain plug-ins — networking, pharma, marketing, identity, or any future domain implements the same ResolverDefinition API.
  • Remote resolvers — HTTP providers registered through Explorer /pipeline/registry/parts and merged at pipeline run time.

The engine does not branch on resolver type. A CIDR containment resolver, pharma SKU resolver, and marketing campaign resolver are all ordinary plug-ins.

Usage

import {
  createResolverRegistry,
  builtinResolvers,
  runResolverSteps,
  type ResolverDefinition,
} from "@x12i/memorix-resolvers";

const registry = createResolverRegistry(builtinResolvers);

const myResolver: ResolverDefinition<{ outputPath: string }> = {
  type: "my-domain",
  create(config) {
    return {
      async resolve(input) {
        return {
          outputs: [{ path: config.outputPath, values: ["resolved"] }],
          stats: { inputsScanned: 1, valuesParsed: 1, valuesRejected: 0, matchesFound: 1, ambiguousMatches: 0 },
          diagnostics: [],
        };
      },
    };
  },
};

registry.register(myResolver);

const result = await runResolverSteps(registry, {
  steps: [{ type: "my-domain", resolverKey: "step-1", config: { outputPath: "data.key" } }],
  record: { data: {} },
});

Built-in resolvers

| Type | Purpose | Typical pipeline stage | |------|---------|------------------------| | exact-match | Copy normalized values from source paths to an output path | resolution | | multi-value | Split comma-separated scalars into array join fields | resolution | | bridge-index | Map readable keys through a bridge collection to target join keys | resolution | | markdown-key-value | Parse **Label:** value markdown strings into plain objects | resolution | | markdown-pipe-records | Parse pipe-delimited **ID:** … \| **Name:** … lines into object arrays | resolution | | path-existence-classifier | Classify path objects into attackPathExistence enum (supported|possible|limited|none|unknown) from pathContext / attackPathMeaning | resolution | | identifier-key | Ensure concept.identifier.identifierKey (kind + values, :-joined) | resolution | | vulnerability-concept | Fix vulnerability snapshot title + hostVulnerability identifier + vulnerabilityGroupIdentifierKey | resolution | | subnet-cidr | Normalize CIDR or resolve asset IPs to canonical subnet CIDRs | resolution | | subnet-key | Derive legacy subnetIp / subnetId from IP or CIDR network portion | resolution | | topology-extractor | Build associatedTopology from associatedData or subnet IP lookup | resolution | | zone-from-topology | Remediate UNKNOWN subnet data.zone from topology-raw graph | enrichment |

Assignments are declared per object type in entity descriptor processing.resolvers. The pipeline parts catalog (loadPipelinePartsCatalog) indexes which types use each resolver.

Related packages