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

@umbraculum/brewery-contracts

v0.0.1

Published

Brewery vertical (tier-6 reference) contract types: recipe/brew-session/water/gravity wire schemas and parsers. RFC-0002 β contracts slice; extracted from @umbraculum/contracts per RFC-0011 Decision F.

Readme

@umbraculum/brewery-contracts

Canonical brewery vertical (tier-6 reference) contract package: recipe, brew-session, water-chemistry, and gravity-analysis wire types, route schemas, response parsers, and contract-version handshake per RFC-0002 and RFC-0011 Decision F.

[!NOTE] Part of Umbraculum — an open-source toolset for building workspace-shaped operational applications. The brewery vertical is the reference tier-6 configuration (RFC-0001 §5). This package is the β contracts slice for code: brewery; brewery math/UI packages use the @umbraculum/brewery-* prefix per RFC-0002 §4.

Install

npm install @umbraculum/brewery-contracts@^0.0.1

Public alpha — see third-party-module.md.

What this is

MIT-licensed contract types for the brewery vertical (docs/modules/verticals/brewery/README.md).

Exported surfaces (grouped by source subtree):

  • CONTRACT_VERSION + classifyContractVersionSkew — version-handshake primitives shared with all @umbraculum/*-contracts packages. Phase A version: 0.1.0-alpha.1.
  • brewery/ — recipe CRUD/import/export route schemas, list responses, brew-session shapes, equipment profiles, styles, ingredients, inventory, brewday settings, BeerJSON export envelope.
  • water/ — water-profile library schemas, recipe water settings, mash/sparge/boil compute-and-save parsers (parseMashComputeAndSaveResponse, etc.), hub-summary parser (parseRecipeWaterHubSummaryResponse), derivation/value helpers shared by water UI.
  • analysis/ — gravity analysis response schema and parseGravityAnalysisResponseV1 (efficiency / OG-FG derivations attached to GET /recipes/:id).

Platform cross-cutting types (ErrorResponseSchema, AuthMeResponse, NumberFormatHintV1) remain in @umbraculum/contracts — this package depends on that package only for format-hint types used inside water/analysis parsers.

Scope

  • Contains: Zod schemas, inferred TypeScript types, hand-rolled and Zod parsers, list/get response envelopes, route param/body schemas, CONTRACT_VERSION, version-handshake helpers.
  • Does not contain: Prisma models (those live in services/api/prisma/schema.prisma under @@schema("brewery")), route handlers (those live in services/api/src/modules/brewery/), brewing math (@umbraculum/brewery-core), BeerJSON editing helpers (@umbraculum/brewery-beerjson), or UI components (@umbraculum/brewery-recipes-ui).

Phase coupling

| Phase | What lives here | |---|---| | Contracts (today) | Zod schemas + parsers + CONTRACT_VERSION. This package. Extracted from @umbraculum/contracts in RFC-0011 Wave 3b (2026-06-06). | | API | Consumed by services/api/src/modules/brewery/ Fastify routes and services/api/src/domain/recipeAnalysis/. | | Client transport | Consumed by packages/verticals/brewery/api-client/ (@umbraculum/brewery-api-client) for runtime-validated fetch helpers. | | Web / native | Response-side re-parse in brewery hooks under apps/web/app/[locale]/(brewery)/ and apps/native/src/modules/brewery/ per RFC-0003. |

Build / test / lint (local)

From repo root (run Node/npm inside the project container, not on the host — see the root README.md):

  • Build: npm run build -w @umbraculum/brewery-contracts
  • Test: npm run test -w @umbraculum/brewery-contracts
  • Typecheck: npm run typecheck -w @umbraculum/brewery-contracts
  • Dist refresh (in-container, committed to CI): bash scripts/build-packages-in-docker.sh

Cross-references