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

@rtrentjones/greenlight

v0.8.0

Published

Greenlight CLI — setup and lifecycle for the harness.

Readme

@rtrentjones/greenlight

The Greenlight CLI — setup and lifecycle for the Greenlight harness. Greenlight turns a domain + API tokens into a live personal site plus a self-verifying agentic deploy loop, with plug-and-play subdomain tools (web apps or MCP servers). It is provider-agnostic and free-tier-first, and it edits declarative infrastructure-as-code — your CI/CD applies it. It is not a hosted PaaS.

You install this CLI; you don't fork the framework. greenlight init scaffolds a thin wrapper repo you own (your manifest + content) that depends on this package and updates via pnpm update — no framework code to merge. This is the single published package: the CLI, with the framework libraries (shared/verify/adapters/loop) bundled in. Terraform modules ship as git tags (pinned in lockstep with this version); skills ship as a Claude Code plugin.

Quick start

npx -y @rtrentjones/greenlight init --domain you.dev   # scaffold the wrapper + gather base keys
pnpm greenlight add notes --lane mcp --target oci      # add a tool: emit infra + gather ITS keys
git push                                               # CI runs `terraform apply`
pnpm greenlight verify notes --env prod                # the shared harness proves it

Full walkthrough: getting-started.md. Update the mechanics later with pnpm update @rtrentjones/greenlight.

Optional peer features lazy-load and degrade to a failing check if absent (never a crash):

pnpm add -D playwright @anthropic-ai/sdk     # only for verify modes agent-web / eval

CLI

greenlight <command>

| Command | What it does | |---|---| | init --domain <d> | scaffold the manifest + secrets store | | add <name> --lane <l> --target <t> [--data --auth --envs] | infra editor: manifest entry → emit infra/<name>.tf + gather/verify tokens + wire the kit (never applies) | | adopt <name> --repo <url\|path> --lane --target | onboard an existing tool repo (submodule wrapper, or --standalone) | | secrets gather <name> [--repo o/r] [--oci-config <path>] | guided, link-first token prompts straight to GitHub secrets (no disk, no logs) | | secrets sync [--repo o/r] [--env <env>] | push .greenlight/secrets.env → GitHub Actions secrets | | agent sync | materialize the agent loop kit (skill + .mcp.json + CLAUDE block) into a repo | | preview <name> | build + serve locally + verify in one command | | verify <name> --env <beta\|prod> (or --url) | run the shared verify harness | | promote <name> | gated develop → main fast-forward (after beta verify) | | deploy <name> | target deploy hook (e.g. OCI restart = re-pull) | | status <name> | the ship → deploy → verify run chain across repos | | doctor / config | health checks (incl. token-scoping conformance) / load + validate + print the manifest |

The loop

greenlight add notes --lane mcp --target oci   # one entry → Terraform + tokens + kit
greenlight verify notes --env beta             # api | mcp | playwright | test | agent-web | eval
greenlight promote notes                        # gated develop → main, after beta verify passes

The verify gate is the same code CI and the agent run — so changes ship with objective confidence, not vibes.

Programmatic API

Typed helpers for your greenlight.config.ts and verify.config.ts:

import { defineConfig, defineVerify } from '@rtrentjones/greenlight';

export default defineConfig({
  domain: 'you.dev',
  alerts: { sink: 'github-issue' },
  tools: [{ name: 'notes', lane: 'mcp', target: 'oci', data: 'none', auth: 'bearer', envs: ['prod'] }],
});

Also exported: loadConfig, and the GreenlightConfig / VerifySpec types.

Links

MIT