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

trooth-preflight

v1.1.0

Published

Compliance-as-Code: scan Terraform, Pulumi, or CloudFormation against SOC 2 / ISO 27001 / EU AI Act / NIST AI RMF / HIPAA before merge, with Fix-It patches and drift detection. Advisory — Trooth never applies changes.

Readme

Trooth Pre-Flight — Compliance-as-Code

Catch compliance gaps in your pull request, before code reaches production. Trooth Pre-Flight analyzes the declared intent of your infrastructure (a terraform show -json plan) against SOC 2, ISO 27001, and the EU AI Act, and gives you a Compliance Delta with a one-click Fix-It on every finding.

  • No cloud access required — it reads your plan, not your environment.
  • Advisory & non-custodial — Trooth proposes; you merge. We never apply changes to your infrastructure. Your Git history is the rollback.
  • Audit-ready evidence — every result is hashed and signable, feeding your Trooth Trust Profile and auto-filling CAIQ/SIG questionnaires.

Pre-Flight proves your declared intent is compliant. Pair it with Trooth's read-only drift check (Silver/Gold) to attest that production still matches.

GitHub Action

# .github/workflows/trooth-preflight.yml
name: Trooth Pre-Flight
on:
  pull_request:
    paths: ["**/*.tf", "**/*.tf.json"]
permissions:
  contents: read
  pull-requests: write
jobs:
  preflight:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: hashicorp/setup-terraform@v3
      - run: |
          terraform init -backend=false
          terraform plan -out tf.plan || true
          terraform show -json tf.plan > plan.json
      - uses: dheggietrooth/preflight-action@v1
        with:
          plan-json: plan.json
          comment: "true"     # post the Compliance Delta as a PR comment
          strict: "false"     # advisory; "true" gates the merge

CLI

terraform plan -out tf.plan && terraform show -json tf.plan > plan.json
npx trooth-preflight plan.json            # human report
npx trooth-preflight plan.json --md        # markdown (PR comment)
npx trooth-preflight plan.json --json      # the Compliance Delta as JSON
npx trooth-preflight plan.json --strict    # exit 1 if verdict is "fail"

API

POST https://api.trooth.co/v1/preflight   body: { "plan": <terraform show -json> }
→ { delta, evidence: { digest, signedAt, issuer } }

What it checks (v1)

S3 public access · S3 encryption · RDS encryption · RDS public access · EBS encryption · open SSH/RDP security groups · IAM wildcard-admin · HTTP load balancers · CloudWatch log encryption. Each maps to SOC 2 CC#, ISO 27001 Annex A, and EU AI Act articles, with a Fix-It remediation. Catalog: controls.json.

License

Apache-2.0. © 2026 Trooth, LLC. "Trooth" and the Trooth marks are trademarks of Trooth, LLC.