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

@sdd-method/cli-core

v0.1.1

Published

Upstream shared TypeScript/Node core for SDD adopter partner-cli and platform-cli binaries. Implements the method-defined surfaces (archetypes, stability, pins, MCP envelope/lifecycle/sdd-client, workspace/repo-kind discovery, manifest + archetype-metadat

Readme

@sdd-method/cli-core

Upstream shared TypeScript/Node core for SDD adopter partner-cli and platform-cli binaries. Implements the method-defined surfaces every SDD adopter's code-CLI pair recurs against per ADR 0118 + ADR 0120 + ADR 0127.

Scope is locked in ADR 0152. The LIBRARY_SPEC.md in this repo records the v0.1.0 public surface contract per ADR 0152 §6.1.

Installation

npm install @sdd-method/cli-core

Adopters consume sub-module exports directly:

import { findSddRoot, discoverSddRepos } from "@sdd-method/cli-core";
import { loadRegistry, renderArchetype } from "@sdd-method/cli-core/archetypes";
import { jsonContent, getSddClient } from "@sdd-method/cli-core/mcp";
import { checkManifest, checkArchetypeMetadata } from "@sdd-method/cli-core/validate";
import { runContractsVerb } from "@sdd-method/cli-core/pins/contracts";
import { runArtifactsVerb } from "@sdd-method/cli-core/pins/artifacts";

v0.1.0 public surface

Eight sub-module export groups, per ADR 0152 §4.3:

| Sub-module export | Purpose | Anchored in | |---|---|---| | root (@sdd-method/cli-core) | Workspace + repo-kind discovery — findSddRoot, discoverSddRepos, readRepoKind, profileFromRepoKind, isRepoKind, REPO_KIND_FILE, LEGACY_REPO_KIND_FILE (added v0.1.1), types Profile, RepoKind, DiscoveredRepo | ADR 0045 sibling-SDD layout, ADR 0118 profile framework | | ./archetypes | Archetype registry + render primitives + repo-config writer — loadRegistry, filterByProfile, findArchetype, renderArchetype, writeRepoConfigEntry, types ArchetypeRegistry, ArchetypeDeclaration, RenderOptions, RenderOutcome, RenderVars, WriteRepoConfigInputs, WriteRepoConfigResult | ADR 0118 §6 archetype-output compliance | | ./stability | Stability-class surfacing shape — checkStabilityClass, types StabilityContext, StabilityCheckResult | ADR 0118 §4.5, ADR 0127 verb stability semantics | | ./pins (and split sub-paths) | Pin-verb delegation shims — runContractsVerb, runArtifactsVerb, types ContractsVerbOptions, ContractsVerbResult, ArtifactsVerbOptions, ArtifactsVerbResult | ADR 0110 cross-SDD contract pins, ADR 0113 runtime artefact pins | | ./mcp | MCP envelope + lifecycle + sdd-mcp composition client — jsonContent, errorContent, dedupeSources, getSddClient, shutdownSddClient, parseSddToolResult, runMcpServer, McpEnvelopeError, types McpErrorEnvelope, CompositionResult, SddClientOptions, ParsedSddToolResult, RunMcpServerOptions | ADR 0130 Adopter MCP Composition Pattern | | ./validate | Manifest + archetype-metadata validators — checkManifest, checkArchetypeMetadata, types ManifestCheckIssue, ManifestCheckResult, ManifestVocabulary, ArchetypeMetadataCheckIssue, ArchetypeMetadataCheckResult, ArchetypeMetadataCheckOptions | ADR 0143 – ADR 0147 canonical manifest schemas |

v0.1.1 — additive

  • root: export LEGACY_REPO_KIND_FILE (.iteraitive-repo-kind), the pre-rebrand marker filename, for adopters that detect or migrate legacy repos. Additive (new symbol on the existing root sub-module; no behavioural change — readRepoKind still reads only the canonical REPO_KIND_FILE). Settles the migration-map gap for the first-adopter (contextua-clis) platform-cli swap.

Out of scope for v0.1.0

Six surfaces present in adopter reference implementations but explicitly NOT upstream (per ADR 0152 §4.3):

  • Vocabulary validators (banned-vocabulary, README vocabulary, vocabulary config) — adopter-defined.
  • Tsconfig compliance check — adopter-shaped tsconfig conventions.
  • Eslint any-ban check — adopter-shaped lint config.
  • Catalog operations — adopter catalogue portal; sdd-cli catalogue covers the method-CLI side.
  • Doctor diagnostics — adopter-shaped environment checks (binary-version, container-runtime, linter, runtime).
  • Telemetry emission — adopter-shaped observability stack.

Authentication flow is candidate for v0.2.0+ pending a second-adopter signal on whether the OIDC/OAuth abstraction generalises (ADR 0152 §4.3).

Semver discipline

Portable-contract semver per ADR 0141. The public surface documented above and in LIBRARY_SPEC.md is the source of truth — a change to a documented surface element is MAJOR. Pre-1.0 narrowing via ^0.x.y per npm convention. v1.0.0 cuts after the surface stabilises across at least two adopters (ADR 0152 §4.4).

Development

npm install
npm run build       # tsc -> dist/
npm run typecheck   # tsc --noEmit
npm test            # build + vitest run

Node ≥ 20 required.

License

Apache-2.0.