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

truth-tools

v0.1.1

Published

Unified CLI and MCP-oriented entrypoint for capture-truth, program-truth, and timeline-truth.

Readme

Truth Tools

truth-tools is the unified entrypoint for this workspace's three truth packages:

  • capture-truth for evidence intake
  • program-truth for program reconciliation
  • timeline-truth for timeline compilation and validation

It keeps the existing packages focused and exposes one consistent CLI and MCP-oriented callable surface for benchmarking and TPM review workflows.

CLI

truth-tools doctor --all

truth-tools capture create --input intake.json
truth-tools capture validate --input evidence-pack.json
truth-tools capture render --export-profile repo-safe-summary --input evidence-pack.json

truth-tools program reconcile --input program-input.json

truth-tools timeline create --input intake.json
truth-tools timeline validate --input timeline.json
truth-tools timeline render --format markdown --input timeline.json

MCP Tools

The MCP server exposes dotted tool names:

  • capture.create
  • capture.validate
  • capture.render
  • program.reconcile
  • timeline.create
  • timeline.validate
  • timeline.render
  • doctor.all

Local checkout config:

{
  "mcpServers": {
    "truth-tools": {
      "command": "node",
      "args": ["C:/path/to/truth-tools/src/mcp-server.js"]
    }
  }
}

Npm-style config:

{
  "mcpServers": {
    "truth-tools": {
      "command": "npx",
      "args": ["-y", "--package=truth-tools", "truth-tools-mcp"]
    }
  }
}

Doctor

truth-tools doctor --all checks:

  • local install and runtime truth package availability
  • shared conflict, timeline unknown, and program-status schemas
  • repo-safe render path
  • MCP tool-surface availability

Conflict Schema

Conflicts are normalized as:

{
  "claim": "Real-client rollout start date",
  "source_a": { "system": "local-note", "value": "2026-05-27" },
  "source_b": { "system": "jira", "value": "2026-06-02" },
  "conflict_type": "date_mismatch",
  "recommended_owner_action": "Assign an owner to reconcile the source disagreement and update the system of record."
}

Timeline Unknowns

Timeline items carry explicit uncertainty:

{
  "title": "Phase 2 rollout",
  "date_status": "tbc",
  "blocks_next_milestone": "unknown"
}

Supported date_status values:

  • exact
  • range
  • earliest
  • tbc
  • conflicting

Supported blocks_next_milestone values:

  • true
  • false
  • unknown

Program Status Schema

program.reconcile returns:

  • confirmed_facts
  • blockers
  • risks
  • unknowns
  • conflicts
  • assumptions
  • recommended_write_back

recommended_write_back separates what belongs in the repo, what belongs in .tmp/, and what needs source-system updates.

Export Profiles

repo-safe-summary is the default safety posture for TPM repos. It omits raw source bodies and favors compact facts, gaps, conflicts, and owner actions.

internal-evidence-pack keeps structured evidence metadata but redacts raw content fields before rendering.

raw-local-only returns the full artifact and should stay local. Do not commit raw Jira, Confluence, customer, credential, or private operational data.

All render paths run a redaction check for common credential and sensitive-data markers.

Development

npm test
npm run check
npm pack --dry-run

Update Checks

truth-tools doctor --all checks npm for newer versions of truth-tools, capture-truth, and timeline-truth.

Use truth-tools doctor --all --no-update-check for CI or offline runs.