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

@asteriusit/cli

v0.1.0

Published

Send a Terraform plan.json to Groundplan from CI (`groundplan push-plan`).

Readme

@asteriusit/cli

Send a Terraform plan.json to Groundplan from your CI pipeline. It owns the integration ergonomics — git-context detection, validation, retries — so the webhook contract stays simple and stable.

Usage

Run it after terraform plan, with no install step:

terraform show -json plan.out > plan.json
npx @asteriusit/cli push-plan --file plan.json

Configure it with two environment variables (both shown on the repository's CI setup page in Groundplan):

| Variable | What it is | | --- | --- | | GROUNDPLAN_URL | Your repository's webhook URL | | GROUNDPLAN_TOKEN | Your repository's webhook secret |

The branch, commit sha, and pull-request number are detected from the git checkout and common CI environment variables (GitHub Actions, GitLab CI, Azure DevOps), including detached-HEAD CI checkouts. Override any of them with a flag.

Options

--file <path>     the plan.json to send (from `terraform show -json`)
--url <url>       webhook URL              (env: GROUNDPLAN_URL)
--token <token>   webhook secret           (env: GROUNDPLAN_TOKEN)
--branch <name>   override the detected branch
--sha <sha>       override the detected commit sha
--pr <number>     override the detected pull request number
--help            show this help

Behaviour

  • Validates locally first. A missing file, non-JSON, or a file that isn't a plan (format_version / resource_changes) fails instantly with a clear message and a non-zero exit — no request is made.
  • Retries transient failures. A 5xx or a network error is retried up to three times with exponential backoff; a 4xx (bad token, unknown repo, oversized plan) fails fast with an actionable message.
  • Exit codes. 0 on success, non-zero on failure, so a CI step fails visibly.

Requires Node ≥ 20. No other runtime dependency.