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

@nakafa/aksara-contracts

v0.42.0

Published

Schemas and verification contracts for Nakafa content releases.

Readme

@nakafa/aksara-contracts

This package defines exact runtime contracts for the Aksara compiler and publisher. Nakafa runtime consumes the exact published contract: a proven npm package, its immutable release archive, and compatible renderer support.

This package contains schemas, branded identifiers, canonical wire encodings, and Web Crypto signature verification. It contains no corpus, renderer implementation, signing key, deployment credential, or browser-side MDX runtime.

Consumers install the exact @nakafa/aksara-contracts version from npm and commit its pnpm lockfile integrity. npm provenance and the matching immutable GitHub Release bind those package bytes to the reviewed Aksara source. Content requiring a newer contract may be activated only after a compatible Nakafa renderer is live.

Node-only writer and incremental digest exports remain isolated behind package conditions. Default-runtime exports used by Convex are audited to reject reachable Node built-ins. Verification accepts only reviewed, signed Aksara artifacts and releases. It does not make MDX safe for arbitrary uploads; MDX remains trusted executable source.

Consumer boundaries

Current consumers use unversioned semantic Interfaces:

  • graph/family classifies either a complete graph identity or one exact asset ID into its application locale and content family.
  • tryout/catalog owns minimal catalog node schemas, while tryout/identity builds their pure lookup identities before complete signed rows are loaded.
  • projection/material owns the application-locale material namespace and validates every signed route and projection against it.
  • projection/page owns stable public page identities, localized paths, and signed metadata for human, agent, and sitemap delivery.
  • math/visual owns the unversioned, renderer-neutral plane and space scene contract, including exact straight geometry, rich-label anchors, and the axis-aligned cuboid dimension mapping.

Publication dates

Article, material, public page, and question metadata carry one required datePublished and one optional dateModified, both as exact DateOnly values.

Decode external metadata and signed payloads with onExcessProperty: "error". Effect schemas own the shape and invariants; the decoder owns excess-property policy. This rejects obsolete fields instead of silently discarding them.

  • datePublished is the first verified public availability of that specific locale page.
  • dateModified is the public activation date of a later signed release that contains a meaningful content change.
  • When present, dateModified must be strictly later than datePublished.

Neither value may be derived from a build clock, import time, Convex _creationTime, an unsigned source commit, or an unactivated candidate. The signed release and activation history remain the audit evidence for both values. These rules keep visible dates and structured data aligned with Google publication date guidance and Article structured data.

Runtime verification authenticates the independently signed release and artifact values against the exact renderer manifest frozen into that release. Execution verification also proves the selected artifact against the complete live renderer when the deployed manifest hash differs. Non-rendering evidence verification authenticates the same frozen release and artifact without claiming that its consumer can execute the artifact. This directional execution check lets an additive live renderer serve an older release only when it still publishes the selected domain and contains every required component name. Every current manifest contains the complete canonical domain set. The same contract validates stored and deployed manifests. A renderer-changing release remains bound to the exact deployed manifest. A scoped content-only release may retain the active frozen manifest only when activation proves the live renderer still publishes every frozen domain and contains every frozen component name. The renderer is not a third signed value. Current production trusts authenticated Convex state for route/head membership, delivery class, and the active pointer; a release result digest is not a per-row inclusion proof. This boundary is recorded explicitly in ADR 0002.

The package source is publicly readable for supply-chain review. All use and redistribution remain subject to the included Nakafa Source Available License 1.0. The package grants no rights to the Nakafa corpus, branding, or educational material.