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

@unciara/cougarbot-contracts

v2.4.0

Published

Client-safe runtime contracts for the Unciara CougarBot mobile app

Readme

@unciara/cougarbot-contracts

Client-safe Zod runtime schemas and inferred TypeScript types for the CougarBot mobile client.

This package is built from the canonical packages/shared-types/src/mobile.ts allowlist. Do not copy its schemas into the mobile repository or import files outside the public package entry.

The public surface is intentionally limited to mobile authentication, entitlement, device registration, bootstrap, training-scope profile settings, offline focus packs, Fast Leopard quiz and scoring contracts, public user info cards, account feedback, recent-quiz review cards, recent mobile progress, Fast Leopard leaderboards, and the shared flip-card study data used by mobile. Web payment, admin, Discord, prompt, and server-only schemas are excluded.

The package also exposes the dormant Battle/Ghost transport and scoring contracts so Web and both native platforms can share one server-clock rule set when their UI launches.

The Product Owner selected the public npm registry and the @unciara/cougarbot-contracts package name. Local build and pack validation do not authorize publishing it until an owner-controlled npm account confirms the @unciara scope and the release workflow is approved.

Shared REST bindings

mobileFastLeopardContract binds the existing eight Mobile Fast Leopard operations to their HTTP methods, complete paths, request schemas, success statuses and response schemas. Consumers supply their existing authenticated transport; the router does not manage cookies, sessions, refresh tokens or retries. Its metadata.retryOnUnauthorized declares whether replay is safe for each operation.

Response and entity objects strip unknown keys; request, query and path-param objects are strict. The API only makes additive changes, so an installed App keeps working across deploys without any server-side projection. MOBILE_CONTRACT_VERSION (sent as X-CougarBot-Contract-Version) is reserved for wire changes a strip-tolerant client cannot absorb. Package SemVer, HTTP generation and App binary versions remain separate axes.

The monorepo's CONTRACT_RELEASE.md documents the pinned-baseline compatibility gate and OIDC workflow. Unpublished integrations can use a tracked tarball inside the consuming repository; production release must return to an exact published registry version. Neither building nor staging publishes the package.