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

@lapxo/bound

v0.2.1

Published

Read the bounds you already wrote, fold them, and name the contradictions.

Readme

@lapxo/bound

Bound turns signed statements, observations and requirements into a place you can inspect. It keeps who said what, preserves incompatible declarations, and projects the views selected by that place. Missing evidence stays missing; a rendered page is not proof that every requirement has been met.

The same pure engine is available to applications and to the CLI. Topos supplies the wire and interpretation contracts; Obligations supplies the constraint algebra. Bound adds admission, authenticated reading, retained receipts and declared host operations around that core.

A place, its readings and its receipts

A place declares its rules and selected worlds in TARGET.bound. Worlds supply readers and renderers for their own domains. A fold reads the declared inputs, applies the admitted constraints, and renders the selected views. receipts.bound carries the public evidence needed to check the resulting files; private admission history stays in the local .bound/ store.

Unchanged regions can retain valid receipts. A changed input reopens the regions it affects, while incompatible admitted statements remain visible. A digest identifies content; it grants neither authority nor permission to reuse an old answer as current. A receipt records a reading under its declared context, rather than establishing the truth or independence of its sources.

Install and use

npm install @lapxo/[email protected]

In a place with admitted declarations and closed public receipts, check the existing evidence without running its readers again:

npx @lapxo/[email protected] fold --check

For a change, prepare a proposal, sign with a key already covered by the place, admit the signed lot, then fold and inspect the result. Signing and admission do not by themselves pay a requirement. The usage guide covers keys, coverage, proposals, withdrawals and release policy.

Embed the engine

objectFold projects already admitted records in effective order. It does not acquire content, verify signatures, choose authority, commit an act or write storage. Those preparation steps belong to the host.

For an authenticated reference, your host supplies the independently accepted trust context: signer grants and epoch, selected form, policy, byte and record bounds, content and cryptographic ports. The carrier cannot choose those inputs. This example verifies the carrier through /reference, then uses the same /engine projection as the CLI:

import { objectFold } from '@lapxo/bound/engine';
import { inspectAuthenticatedReference } from '@lapxo/bound/reference';

export async function openAndProject(reference, trust) {
  const opened = await inspectAuthenticatedReference(reference, trust);
  return objectFold(opened.records, trust.objects);
}

Captured on a clean installed consumer, with two independently admitted fixture places and an altered carrier in each:

README sensor · REQUIRED · altered carrier refused
README editorial · REQUIRED · altered carrier refused

Opening and projecting a reference never commit an act. The authenticated context binds the standing contract and refusal catalog by digest, so consumers can identify the contracts used to interpret the result.

Public boundaries

| Entry | Responsibility | | --- | --- | | /engine | Pure projection of admitted object records; optional, explicitly injected host ports. | | /reference | Inspect a carrier against the host's accepted context and verify its content and authority. | | /reference/native | Export a signed carrier from a real admitted place and open it with an explicitly selected backend. | | /wasm | Load the optional WASM adapter for the published object projection. | | /refusals and /standing-contract | Read the machine-readable contracts bound into authenticated exports. |

Native opening selects ESM or WASM explicitly; an unsupported selection refuses rather than falling back. The WASM adapter covers the published object projection. Admission, effects and the whole CLI do not run inside WASM. Cross-machine evidence (L6) remains pending.

The host supplies bounded signer, content and persistence ports. Their identities and limits are explicit. Retaining bytes is an explicit operation: it grants no admission or permission to reuse a response. The existing authority path verifies signatures before returning an authenticated carrier.

Complete standing covers declared key classes and committed local acts, preserving attribution, exact withdrawals and conflicts. Refusals have machine-readable codes, meanings and suggested next steps; human diagnostics are not parsed as authority.

Contracts and foundations

The underlying object is described in Two-Sided Constraints on a Valued Lattice, DOI 10.5281/zenodo.21858428.