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

@yohakuforce/core

v0.7.0

Published

Core CLI and knowledge graph engine for yohakuforce. Salesforce metadata → SQLite knowledge graph → deterministic Markdown rendering.

Readme

@yohakuforce/core

npm License: Apache 2.0

Salesforce metadata → SQLite knowledge graph → deterministic Markdown.

Core is the deterministic foundation layer of the 余白フォース / yohakuforce suite. It turns Salesforce DX metadata into a queryable SQLite knowledge graph, then renders documentation deterministically — the same input always produces the same output, and every fact carries its provenance. Core never calls an LLM; it is the stable scaffold that AI tools build on top of.


Why deterministic?

AI-generated docs drift: re-run them and you get different prose, sometimes different facts. Core separates the two concerns — it owns the deterministic half (extract → graph → render), and leaves the interpretive half (explanations, summaries) to AI tools that consume the graph. That makes the output auditable and reproducible.

Install

npm install -g @yohakuforce/core
yohaku --help

Quick start

# 1. Initialise the scaffold in your Salesforce DX project
yohaku init --bootstrap --profile standard

# 2. Build the knowledge graph from force-app/ metadata
yohaku graph build --incremental

# 3. Inspect the graph
yohaku graph schema --tables
yohaku graph query "SELECT name FROM sobject LIMIT 10"

# 4. Render documentation (deterministic Markdown)
yohaku render all            # everything
yohaku render system-index   # project overview
yohaku render objects        # per-SObject (fields / validation rules / dependencies)
yohaku render flows          # per-Flow
yohaku render apex           # per-ApexClass

Pipeline

Salesforce metadata  →  SQLite knowledge graph  →  deterministic render  →  Markdown docs
   (SFDX / DX-MCP)        (yohaku graph build)        (yohaku render)

Optional: Context-Hub context injection

Core can pull abstracted project context from Context-Hub to enrich explain / change-summary output. It is opt-in (default: none), configured in .yohaku/config.json, and only abstracted context is used — customer names, PII and secrets are never written into generated artifacts.

yohaku context --kind explain --fqn Account

Design principles

  1. Three-layer separation — deterministic processing lives here; AI inference does not.
  2. Deterministic I/O — same input → same output, verified by golden tests.
  3. Read force-app/, never write it — the source of truth is never mutated.
  4. Graph is CLI-only — no direct INSERTs from AI or hooks.

The suite

Core is one of three layers (Core / Context-Hub / AI Manager). See the official help site at yohakuforce.github.io/docs for how they fit together.

License

Apache-2.0