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

@decantr/registry

v3.10.0

Published

Legacy compatibility package for Decantr content contracts, schemas, and API client utilities

Downloads

422

Readme

@decantr/registry

Support status: supported-secondary Release channel: stable

Legacy Decantr 3.x compatibility facade for content contracts, schemas, API client naming, ranking helpers, and resolver utilities. Runtime implementations and TypeScript contracts are owned by @decantr/content; this package only preserves old names and import paths.

Prefer @decantr/content for new official corpus integrations. Keep @decantr/registry when existing scripts or MCP/directory-compatible code still use registry naming.

The public registry portal and marketplace are retired. This is a stable 3.x compatibility package, not an active product foundation. Decantr 3.10 assigns this package no feature investment beyond coordinated compatibility. Do not use registry search volume, compatibility aliases, or corpus size as evidence that Decantr improves an AI coding agent. Removal or consolidation is a future major-version decision; Decantr 3.x compatibility remains intact.

Install

npm install @decantr/registry

What It Exports

  • re-exported types for patterns, themes, official blueprints, archetypes, shells, and intelligence metadata
  • ContentHealthReport types for vocabulary supply-chain health artifacts
  • RegistryAPIClient for server-side and tool-side content API access
  • @decantr/registry/client for web-safe API usage
  • public schema exports for vocabulary content, content health, and summary responses
  • ranking and sorting helpers for public vocabulary content
  • Brownfield-aware pattern discovery helpers: patternToDiscoveryCandidate(), scorePatternCandidate(), and rankPatternCandidates()
  • blueprint portfolio metadata helpers for public All, Featured, Certified, and Labs corpus cuts
  • createCorpusResolver(), searchCorpusContent(), listCorpusRecords(), and related helpers re-exported from @decantr/content

Example

Node/runtime usage:

import { RegistryAPIClient } from '@decantr/registry';

const client = new RegistryAPIClient({ baseUrl: 'https://api.decantr.ai/v1' });
const results = await client.search({
  q: 'dashboard',
  type: 'blueprint',
  blueprintSet: 'featured',
});

Browser-safe usage:

import { createRegistryClient } from '@decantr/registry/client';

const client = createRegistryClient({ baseUrl: 'https://api.decantr.ai/v1' });
const results = await client.search('dashboard', 'blueprint');

Pattern discovery usage:

import { patternToDiscoveryCandidate, rankPatternCandidates } from '@decantr/registry';

const matches = rankPatternCandidates(
  { query: 'recipe feed with avatars and infinite scroll', route: '/feed' },
  patterns.map((pattern) => patternToDiscoveryCandidate(pattern)),
);

Related Schemas

This package keeps the legacy canonical schema paths under @decantr/registry/schema/*, including content-health-report.v1.json for local content reports emitted by decantr content-health. New corpus integrations should prefer @decantr/content/schemas/*.

Blueprint records can include blueprint_portfolio metadata. List/search summaries expose that metadata so clients can show public-facing blueprint sets without leaking internal maturity labels:

  • all — supported official blueprints, excluding Labs and folded slugs by default
  • featured — curated default discovery picks
  • certified — blueprints with certified artifact metadata
  • labs — opt-in experimental directions

Compatibility

@decantr/registry is maintained as a Decantr 3 compatibility package.

  • RegistryAPIClient, RegistryAPIError, and createRegistryClient are aliases over the content-owned client runtime
  • @decantr/registry/client preserves every runtime and type export from the public 3.8.1 client entrypoint while delegating implementation to @decantr/content
  • RegistryIntelligenceSummaryResponse and RegistryIntelligenceSummaryBucket remain aliases for the preferred content-named response types
  • exported schema paths and documented client entrypoints are expected to remain stable across compatible releases
  • additive response fields may be introduced without breaking the stable contract
  • breaking client, schema, or path changes require a major version

The release boundary is exercised from packed artifacts with:

pnpm audit:packed-content-facade

That audit installs @decantr/content and @decantr/registry tarballs into a clean npm prefix, proves delegated runtime identity and legacy schema parity, compiles the frozen public 3.8.1 /client type surface, checks no-process construction and REGISTRY_URL, and rejects workspace links or retired-host leakage. It does not revive a public registry service.

Security And Permissions

@decantr/registry provides legacy schema paths, content utilities, and API clients. It may read explicit local content JSON files when resolver helpers are used, and it may call the configured Decantr API base URL when client methods are invoked. It does not write files, spawn processes, emit telemetry, or upload source by itself. See security permissions.

License

MIT