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

@ccdd/core

v4.3.0

Published

Artifact, Critic, relationship and tool definitions for CCDD

Readme

CCDD

Let verification define the project. Give each Artifact its own criteria and the tools a reviewer needs to inspect it. An Artifact can be code, tests, a specification, an image or any other folder of project material.

Put a ccdd.json in that folder. It owns the Artifact's name, view tools and Critics. CCDD finds those declarations, connects references and collects actual review evidence.

project/
  why/ccdd.json
  spec/ccdd.json
  tests/ccdd.json
  implementation/ccdd.json

A Critic can ask an Agent to compare Spec with Why, ask a person to compare two images, or run tests against an implementation. It belongs to the Artifact it evaluates. References such as {spec} connect it to the other Artifacts it uses.

flowchart LR
  subgraph Project[Your project]
    Why[Why] -. instruction .-> Spec[Spec]
    Spec -. instruction .-> Tests[Tests]
    Tests -. mount / instruction .-> Implementation[Implementation]
  end
  Project -. folder declarations .-> CCDD
  CCDD --> Agent[Agent review]
  CCDD --> Human[Human review]
  CCDD --> Runtime[Runtime tests]
  Agent --> Evidence[Actual evidence]
  Human --> Evidence
  Runtime --> Evidence
  Evidence --> CCDD
  style Project fill:#eef6ff,stroke:#5c83aa
  style CCDD fill:#eef9ef,stroke:#588060

These relationships define required input and verification, not execution order. Mutual dependencies are allowed: both Critics may run together, and final validation requires both matching results. Child Artifact folders are automatic dependencies. Logical mounts connect other folders without copies or symlinks.

Start with a runtime check

Use Node.js 22 LTS, version 22.19.0 or later.

npm install --ignore-scripts @ccdd/core@^4 @ccdd/project@^4

Inside an Artifact folder, create ccdd.json:

{
  "name": "implementation",
  "critics": [{
    "id": "tests",
    "title": "Pass the implementation tests",
    "profile": { "kind": "runtime", "command": "node", "args": ["--test", "check.test.mjs"] },
    "payload": { "instruction": "Run the tests for {implementation}." }
  }]
}

Add your actual check.test.mjs, then run from the workspace root:

npx ccdd-project config check
npx ccdd-project plan implementation --recursive
npx ccdd-project verify implementation --recursive --wait
npx ccdd-project status implementation

The getting-started guide includes a complete runnable example. Version 4 is a breaking change; existing projects should follow the migration guide.

Read the result

Every actual review returns a verdict, summary and concrete evidence. GREEN means its criteria were met; RED means they were not. Execution problems produce ERROR. Final validation needs matching PASS evidence for all required Critics and dependencies. A folder without Critics stays UNREVIEWED unless explicitly declared basis: true.

An individual check runs its selected Critics immediately. If other required evidence is missing, their results are saved and the request is INCOMPLETE. Add --recursive to include those other evaluations. CCDD reuses matching actual evidence and computes freshness when queried; it does not store stale flags.

Reviews run in the workspace you supply. Keep it unchanged until completion, including Human waiting. Records, caches and generated output live outside it. To keep editing elsewhere, create your own worktree and pass it with --repo.

Next steps

The optional local monitor shows folders, relationships, cycles, review progress and saved results. Start it with npx ccdd-project monitor.

| Package | Responsibility | | --- | --- | | @ccdd/core | Public definitions and logical path resolution. | | @ccdd/project | Validation, CLI, Broker, Executors and monitor. | | @ccdd/default-tools | Optional common view scripts; no automatic registration. |

See Contributing, the context map, detailed contracts and release instructions. Repository content and review prompts use English.

License

MIT.