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

@opsrabbit/create-plugin

v0.17.1

Published

CLI for creating, validating, testing, and packaging OpsRabbit plugins

Readme

@opsrabbit/create-plugin

Create an isolated, testable OpsRabbit plugin repository:

npm create @opsrabbit/plugin@latest my-plugin -- --starter basic-readonly
cd my-plugin
npm install
npm test
npm run build
npx opsrabbit-plugin check
npx opsrabbit-plugin pack

check loads the plugin's compiled entry so it can compare runtime registrations with the manifest. Run it only on source you trust, just as you would the plugin's own build or test scripts.

Available starters:

  • basic-readonly
  • operational-action
  • scheduled-tenant-job
  • database-tenant-records
  • forms-workflow
  • forms-insights
  • service-ingress
  • knowledge-publisher
  • knowledge-email-processor
  • connection-knowledge-review
  • native-workspace
  • interaction-policy

Each starter is also a versioned reference example. Use opsrabbit-plugin create my-reference --example operational-action to render one. opsrabbit-plugin examples list retains its script-friendly one-ID-per-line output; add --verbose for descriptions.

The interaction-policy starter demonstrates transactional chat admission, advisory composer state, a declarative deployment-admin workspace, packaged localization, and subject-deletion handling. The host retains authentication, authorization, queue, transaction, schema-confinement, and UI boundaries.

The generated repository contains unit tests, CI and automatic-release workflows, AGENTS.md, a manifest, build configuration, and release packaging. pack validates the compiled registration against its authoritative manifest and creates a deterministic ZIP for upload to an OpsRabbit deployment. Capability declarations are reviewed during deployment and do not grant host access on their own.

release additionally requires an exact vX.Y.Z tag/version match and creates the ZIP, SHA-256 checksum, SPDX 2.3 SBOM, and release metadata. The generated workflow publishes those files in an immutable GitHub Release after a release-content merge to main, automatically choosing a patch increment when the current version is already released. It creates GitHub artifact provenance when supported and otherwise retains checksum/SBOM verification and release publication.

For a Forms-backed plugin, place the versioned starter JSON under forms/ and reference it with formStarterPack in opsrabbit.plugin.json. validate and check validate that asset and its module ownership; a declared Forms workflow also verifies its settings and root starter. pack includes it in the release ZIP. Treat that starter asset as versioned product configuration: changing fields, sections, actions, dynamic option sources, workflow placement, or default list configuration requires tenants to republish the starter pack after installing the plugin upgrade. The host refreshes installed starter-backed definitions during publish while preserving definition ids, form keys, local title/description customizations, submissions, and historical schema snapshots. A repository can contain multiple plugin directories as long as each plugin runs these commands from its own package directory.

Operationally, a plugin upgrade has two steps: upload/deploy the new package, then republish the starter pack for tenants that should receive the updated Forms definition. If an upgraded plugin appears to run but users do not see new fields, dynamic dropdowns, workflow actions, list columns, or Insights mappings, confirm the starter pack was republished.

The generated Forms-workflow reference also demonstrates requiredEntitlements. These are host-defined license requirements, not capabilities granted by the plugin manifest.

Use forms-insights for a complete Forms-backed analytics reference. It generates a published starter pack, a caller-scoped analytics catalog, an Insights template route, a configurable Insights tab, dashboard widgets, and tests for both wire catalogs. After installation and publication, the host materializes the default template into ordinary saved queries and an editable Data Insight dashboard. Users with dashboard write access can drag, resize, and add saved-query widgets. Query-backed widgets can open the matching list in the plugin workspace's Records tab. Agents use the host's generic Data Insight catalog and bounded query tools; the plugin does not reimplement them.

npm create @opsrabbit/plugin@latest quality-insights -- --starter forms-insights

Use service-ingress as the reference for scoped API-token ingress, journaled plugin-schema Drizzle migrations, and direct evidence-upload preparation. Validation requires meta/_journal.json and rejects journal entries that do not exactly match the packaged SQL migration files. After deploying a service-ingress plugin, create the tenant-scoped API token in the host plugin settings UI and pass that token to the edge/agent installer. Agents should send JSON control events to ingress and upload large binary evidence through host-issued object-store instructions.

Use knowledge-publisher as the reference for an administrator-controlled action that creates or reuses a plugin-owned Knowledge source, upserts bounded documents by stable key, and publishes the batch explicitly. The host retains tenant and source isolation, authorization, indexing, retention, and audit.

Use connection-knowledge-review to illustrate the generic governed boundary: an administrator selects an IMAP Connection, a scheduled job invokes a bounded mailbox protocol adapter and stages normalized output for Forms review, immutable approval gates Knowledge publication, and a read tool reranks competing hits before exact-family expansion. The adapter is an executable teaching seam, not production IMAP ingestion; replace it with a maintained protocol library while preserving its limits and cancellation. Credentials are never stored or logged.