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

@ghostframes/runtime

v1.0.0

Published

> Unified runtime package that re-exports the React facade and CLI entry points.

Readme

@ghostframes/runtime

Unified runtime package that re-exports the React facade and CLI entry points.

npm version license

@ghostframes/runtime is the package to install in application projects. It re-exports the React APIs from @ghostframes/react and ships a ghostframes CLI binary for capture/report workflows.

Installation

# npm
npm install @ghostframes/runtime

# pnpm
pnpm add @ghostframes/runtime

# yarn
yarn add @ghostframes/runtime

React Usage

import { AutoSkeleton } from "@ghostframes/runtime";

function UserCard({ loading }: { loading: boolean }) {
  return (
    <AutoSkeleton loading={loading}>
      <article>
        <h2>Profile</h2>
        <p>Runtime facade over @ghostframes/react.</p>
      </article>
    </AutoSkeleton>
  );
}

CLI Usage

The package exposes a ghostframes command:

ghostframes capture --config ghostframes.capture.config.mjs
ghostframes validate --manifest .ghostframes/generated/manifest.json --json-out .ghostframes/validate.json
ghostframes report --validate-json .ghostframes/validate.json --diff-json .ghostframes/diff.json

Run these commands in order in your consumer app:

  1. capture: visits routes in your config and generates Ghostframes artifacts.
  2. validate: checks the generated manifest for schema and quality thresholds.
  3. report: combines machine-readable outputs (validate/diff) into a CI-friendly summary.

What Each Command Needs

  • ghostframes capture --config <path-to-capture-config>

    • Use when: creating or refreshing generated artifacts.
    • Requires: a capture config and a running app at the configured base URL.
    • Produces: manifest and related generated files (for example under .ghostframes/generated/).
  • ghostframes validate --manifest <path-to-manifest> --json-out <path-to-validate-json>

    • Use when: enforcing manifest quality gates.
    • Requires: a manifest file produced by capture.
    • Produces: terminal output plus JSON output used by report.
  • ghostframes report --validate-json <path-to-validate-json> --diff-json <path-to-diff-json>

    • Use when: creating one final quality report for local checks or CI.
    • Requires: validate JSON and (optionally, if your workflow includes diff checks) diff JSON.
    • Produces: consolidated text/json report output.

Internal Packages

The runtime package bundles the public consumer surface. The split packages below are internal implementation details for the repository:

  • @ghostframes/react: React adapter implementation re-exported by @ghostframes/runtime.
  • @ghostframes/core: framework-agnostic engine used under the runtime facade.
  • @ghostframes/cli: CLI implementation that powers the ghostframes binary.