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

@buildtovalue/studio

v1.2.0-next.1

Published

BuildToValue Studio (Handoff 6 S-4): the application layer for the no-screen personas — shell with hash navigation (no external router), the generic Biblioteca screen and the Revisão do Aprovador (engine-derived queue, real verification calls, immutable l

Readme

@buildtovalue/studio

BuildToValue Studio — the application layer for the three no-screen personas (Handoff 6, S-4/S-5): shell + the generic Biblioteca screen + the Revisão do Aprovador + the Ledger Explorer (Auditoria).

Workspace-only until the npm-scope decision (pendencias.md §1). The final published name will be <scope>/studio.

Shell

<StudioShell user library review footer?> — header with the three-screen nav (Biblioteca | Revisão | Auditoria), hash-based navigation (state + URL hash, no external router — §11) and the user identity. The Studio is read-only + governance decisions; editing belongs to the Designer.

Revisão do Aprovador (§5)

<ReviewScreen candidates engine ledger actor registry? converter? baselineOf? onDecided? onOpenInDesigner?> — queue (296px) + review area (max 820px):

  • Queue derived, never stored: candidate versions the user has not yet approved; progress ("1/2 aprovações") comes from the engine's approvals gate — the rule is NEVER re-implemented in the UI (pendingPromotions). Keyboard-navigable (arrows; §10.8).
  • Review blocks in order: request header → change summary (solicitante's words) → diff vs baseline (the same DiffView, with "abrir no canvas →") → verificações automáticas 2×2 — every card a REAL call (analyzeSoundness, certifyXml, verifyLedger, resolveCallActivities; §10.4) → decision.
  • Decision: approve records an ApprovalRecord via engine.approve AND an APPROVAL_RECORDED ledger entry; reject demands a 10+ char justification and writes PROMOTION_REJECTED. Both immutable — no undo; corrigir = novo ciclo. Approving never activates: a separação solicitante/aprovador é intencional (§11) — a solicitante executa a promoção final.

The headless halves (pendingPromotions, runReviewChecks, approvePromotion, rejectPromotion) are exported and 100% testable without DOM.

Ledger Explorer (§6)

<LedgerExplorer ledger registry? onAction? onDownload? initialFilter?> — filter bar + vertical trail (max 720px) + detail column (340px):

  • categorization is a pure studio function (categorizeEntry / filterEntries): Promoções / Aprovações / Comandos / Verificações, chips with live counts, removable artifact context chip;
  • "Verificar cadeia" runs verifyLedger(): green banner with n/n, head hash, algorithm and VerificationReport.json download; broken → red banner pointing at the exact firstBreak index, with that entry and every later one marked untrusted;
  • detail: seq/hash/prev (visible chaining), author, payload, and a gold ATTESTATION block on activation entries (xmlHash, ledgerHeadHash, approvers, effectiveFrom + attestation.json download);
  • "Exportar XES" feeds the SAME filtered entries to toXES — the export always matches what the trail shows (§10.5);
  • actions ("Ver diff desta mudança", "Abrir versão no Designer (leitura)") are descriptors the host resolves; keyboard-navigable trail (§10.8).

Styles

import '@buildtovalue/react/styles.css';
import '@buildtovalue/library-react/styles.css';
import '@buildtovalue/studio/styles.css';

Seal colors come exclusively from the canonical --bpmnr-status-* tokens (§10.6); brand colors from --btv-*.