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

@sezzlee/core

v1.0.0

Published

TypeScript reference implementation of sezzlee's HTTP catalog spec: naming, selection, curation, search, request composition and error mapping.

Readme

@sezzlee/core

The language-neutral reference implementation of the sezzlee spec, in TypeScript.

Status: 1.0.0, stable. Published so that @sezzlee/sdk-nestjs, @sezzlee/openapi and @sezzlee/openapi-mcp can depend on it; it has no runtime dependencies.

You do not install this package yourself: an SDK or the gateway pulls it in. Its exports follow the spec; a change that breaks them is a major version.

core is not file-core. This package is the HTTP catalog implementation; @sezzlee/file-core is the shared machinery for file-backed MCP servers. Neither depends on the other, in either direction.

What lives here

One module per spec concept. The source is a click away, so this list points rather than describes.

| Area | Files | | ---------------- | ---------------------------------------------------- | | Naming | naming.ts | | Selection | selection.ts | | Tool assembly | tool.ts, tool-definition.ts, argument-names.ts | | Request path | request-template.ts, request-composer.ts | | Schema pipeline | schema-simplification.ts, json-schema.ts | | Search and cards | search.ts, card.ts | | Visibility | visibility.ts | | Errors | error-mapping.ts, leak-filter.ts, errors.ts | | Cache | cache/ |

src/index.ts is the barrel and may only re-export from the canonical file for each concept. In particular it must never re-export the embedded EndpointDescriptor / ToolDefinition copies inside generated/fixture.ts — one definition per type, from one place.

Generated code

src/generated/ is produced from ../spec/schemas by scripts/generate-types.mjs (@apidevtools/json-schema-ref-parser + json-schema-to-typescript):

pnpm turbo run gen

Committed, and never hand-edited. Always build through turbo — pnpm --filter @sezzlee/core build skips generation and can compile against stale types.

Tests and the conformance corpus

pnpm turbo run test --filter=@sezzlee/core

test/conformance-fixtures.spec.ts runs the shared corpus in ../conformance. Core is one of three independent runners over those same JSON files, alongside packages/http/conformance/validate.mjs and the .NET CatalogFixtureTests. That is what makes cross-SDK parity a test result instead of an assertion.

A rule change that does not move a fixture has not been made.

Search benchmark

pnpm --filter @sezzlee/core bench:search
pnpm --filter @sezzlee/core bench:search -- --quick

The deterministic benchmark compares the original linear scan, a byte-trigram candidate index, and the production posting index. Each algorithm runs in an isolated Node process with explicit GC. Output includes build time, retained heap plus array-buffer memory, query p50/p95, and a JSON report. A digest mismatch between algorithms fails the run before results are reported.

Relationship to the SDKs

@sezzlee/sdk-nestjs depends on this package and re-exports the parts its users need, so NestJS consumers never import core directly.

Sezzlee.AspNetCore deliberately does not depend on it — it is an independent implementation in C#, and it earns parity by passing the same fixtures. That independence is the point: a spec validated by one implementation is a description of that implementation.

Related

  • ../spec — the normative rules and the schemas types come from
  • ../conformance — the fixture corpus
  • apps/docs — the public documentation site (English)