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

@homelab-inventory/catalog-protocol

v0.1.1

Published

Canonical catalog contracts, hashing, and signed artifact verification for Homelab Inventory.

Readme

@homelab-inventory/catalog-protocol

Canonical catalog contracts, normalization, hashing, signed-artifact verification, snapshots, and compatibility projections shared by Homelab Inventory and the official Registry.

bun add --exact @homelab-inventory/[email protected]

The npm package is intended for applications that must consume an exact public Registry revision. Consumers should pin an exact version because fingerprint implementations are historical wire contracts rather than ordinary display helpers.

Version 0.1.1 is the first release reconciled against both Homelab Inventory's runtime fixtures and the Registry's frozen publication vectors. The Registry and external consumers must use this exact version rather than a range or distribution tag.

Public verification

import {
  validateCatalogManifest,
  validateCatalogSnapshot,
  verifySignedCatalogArtifact,
} from '@homelab-inventory/catalog-protocol'

Use the package to select a configured public key by key ID, verify Ed25519 signatures, validate artifact hashes and size limits, reject unsupported contract versions, and preserve exact historical template revisions.

Trust boundary

Configure only Registry public verification keys in consuming applications. Registry private signing keys must remain mounted only in the Registry publication worker. Installing this package confers no signing authority and must not be used as a reason to copy signing keys into Homelab Inventory, LabGD, or another viewer.

The module exports the protocol's signing-compatible canonicalization primitives because publishers and verifiers must produce the same bytes. Key custody, authorization, and publication remain separate operational concerns.

Compatibility

The catalog protocol is a wire contract shared by Homelab Inventory and the official Registry. A fingerprint version defines the complete normalization, sanitization, identity, and content-hash behavior for that version.

Compatibility rules

  • Never change hash-affecting behavior while retaining the same FINGERPRINT_VERSION.
  • The fingerprint-v2 conformance test contains immutable canonical output and hashes from official catalog revision 3. Do not update those expectations to accommodate a behavior change.
  • A future normalization change must add a new fingerprint implementation and preserve the old implementation for clients or stored records that still use it.
  • Fingerprint v3 separates product-family identity from motherboard or complete topology evidence. Fingerprint-v2 hashes remain valid aliases and must never be recomputed with v3 rules.
  • Fingerprint v8 identifies one physical RAM stick by canonical manufacturer and exact manufacturer part number. Capacity, speed, rank, voltage, physical form factor, electrical module type, and ECC state remain revisioned content.
  • RAM contract v8 keeps formFactor (DIMM or SO-DIMM) independent from moduleType (UDIMM, RDIMM, or LRDIMM) and requires structured memory requirements to remain consistent with known specifications.
  • Variant identity must not include installed components, local device names, assignments, topology relationships, or the role a user gives the machine.
  • Registry publication must use a fingerprint implementation already shipped by the supported Homelab Inventory release channel.
  • Both repositories must pass the same conformance vector before an application release or catalog publication.

These rules make protocol incompatibility a CI or publication failure instead of allowing an incompatible signed catalog to replace a client's last-known-good snapshot.