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

@promptframe/cli

v0.1.19

Published

PromptFrame component authoring CLI.

Readme

@promptframe/cli

PromptFrame component authoring CLI.

Use it to inspect the public component standard, check component folders, validate manifests, inspect the local Remotion preview envelope, package source archives, upload components, check build status, rebuild evidence indexes, and rerun layout/security probes.

npm install -D @promptframe/cli
npx promptframe dev .
npx promptframe check .
npx promptframe validate .
npx promptframe preview .
npx promptframe preview . --write-local-report --json
npx promptframe package . --out ./component.zip
npx promptframe upload ./component.zip --endpoint https://your-promptframe.example/api-proxy
npx promptframe upload ./component.zip --target project_private_generation --endpoint https://your-promptframe.example/api-proxy
npx promptframe status <buildId> --endpoint https://your-promptframe.example/api-proxy

Endpoint resolution is explicit and public-safe:

  1. --endpoint
  2. PROMPTFRAME_API_BASE
  3. REMOTION_MEDIA_API_BASE
  4. local config written by promptframe configure --endpoint <url>

The CLI embeds no production, Tailscale, local Docker, or private PromptFrame endpoint default. dev . starts the component template's local Vite preview shell with Remotion Player. check . runs the local public policy checks, reports standard freshness for the selected upload lane, and emits deterministic localReusability diagnostics so low-reuse marketplace submissions are visible before upload. If no platform endpoint is available, dev / check return standard.freshness.offline_degraded as a warning instead of pretending the online standard was verified. preview . reads src/preview-props.json and reports the local Remotion preview envelope; preview . --write-local-report also validates saved .promptframe/local-previews/*.json cases and writes .promptframe/local-previews/preview-report.json for local author evidence. Neither command runs a custom runtime or replaces the platform iframe preview/render pipeline. Upload success only means the platform accepted the source package for trust-pipeline admission; use status, reindex, and probe to inspect build readiness, evidence/search readiness, and layout/security diagnostics.

upload defaults to --target marketplace_authoring, the external authoring lane. --target marketplace --strict is accepted as the public strict authoring alias and resolves to the same lane. Director Component Author jobs must use --target project_private_generation so the server can keep the component project scoped. Unknown targets fail locally before network transport with diagnostic code upload.target.invalid; stale PromptFrame authoring package floors are checked before network transport for both component folders and source zip archives. Upload also checks the platform /components/standard source hash before sending the package bytes; stale local standards fail with standard.freshness.upload_blocking. The platform repeats the same admission checks and remains the final authority.

Local and remote commands support stable JSON output:

npx promptframe standard --json
npx promptframe doctor . --json
npx promptframe validate . --json
npx promptframe check . --target marketplace_authoring --json
npx promptframe upgrade . --dry-run --json
npx promptframe dev . --dry-run --json
npx promptframe preview . --json
npx promptframe preview . --write-local-report --json
npx promptframe upload ./component.zip --endpoint "$PROMPTFRAME_API_BASE" --json
npx promptframe status <buildId> --json
npx promptframe reindex <buildId> --provider-kind cloud_embedding --json
npx promptframe probe <buildId> --level standard --json

Every JSON response includes a stable diagnostic.code, for example standard.completed, doctor.completed, validate.completed, check.completed, upgrade.dry_run, dev.ready, preview.ready, preview.local_report.written, upload.completed, status.completed, reindex.completed, or probe.completed. validate --json and check --json report checkedRuleIds for the public policy checks they ran. upgrade --dry-run --json reports package floor changes without writing files. dev --dry-run --json reports the Remotion Player dev command without starting a long-running process. JSON failures include failureReason and retryable. Missing endpoint failures exit with code 2 and use <command>.endpoint.missing.

standard --json also returns authoringStandardRelease and freshness. These fields are the public SSOT for package floors, upload targets, standard source hash, and local freshness decisions:

  • marketplace_authoring: external authoring lane; upload still enters the trust pipeline and public publishing requires review.
  • project_private_generation: Director Component Author lane; upload still enters the trust pipeline but stays project scoped.
  • freshness.status: current, warning, upload_blocking, or security_breaking.

validate and package consume public policies from @promptframe/contracts: required files, preview limits, deterministic Remotion source rules, and deterministic security gate patterns such as code.eval, code.new_function, code.string_timer, and host.fs_process_env. These local checks are early author feedback; the platform admission pipeline remains the final trust gate.