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

@aquaqa/stripe-plugin

v0.1.0

Published

Stripe plugin for aqua QA - verify Stripe resource states in QA plans

Downloads

23

Readme

@aquaqa/stripe-plugin

Stripe plugin for aqua — verify Stripe resource states in your QA plans.

This plugin adds a stripe action type to aqua, allowing you to check the state of Stripe resources (customers, subscriptions, payment intents, etc.) as part of your QA test plans.

日本語 README

Installation

npm install @aquaqa/stripe-plugin

Setup

1. Add to project config

Add the plugin to your .aqua/config.json:

{
  "server_url": "https://app.aquaqa.com",
  "project_key": "github.com/owner/repo",
  "plugins": ["@aquaqa/stripe-plugin"]
}

2. Configure Stripe API key

Add your Stripe API key to an environment file (.aqua/environments/<name>.json):

{
  "secrets": {
    "stripe_api_key": { "type": "env", "name": "STRIPE_SECRET_KEY" }
  }
}

The key is automatically masked before being sent to the aqua server.

Usage

Use the stripe action type in your QA plan steps:

{
  "step_key": "check_subscription",
  "action": "stripe",
  "config": {
    "operation": "get_subscription",
    "params": { "id": "{{subscription_id}}" }
  },
  "assertions": [
    {
      "type": "stripe_field",
      "path": "status",
      "expected": "active",
      "description": "Subscription should be active"
    }
  ],
  "extract": {
    "plan_id": "$.items.data[0].price.id"
  }
}

Polling

For async operations (e.g., waiting for a webhook to process), use the poll config:

{
  "config": {
    "operation": "get_subscription",
    "params": { "id": "{{subscription_id}}" },
    "poll": {
      "interval_ms": 2000,
      "timeout_ms": 30000,
      "until": { "path": "status", "equals": "active" }
    }
  }
}

Supported Operations

| Operation | Required Params | Description | |---|---|---| | get_customer | id | Retrieve a customer | | get_subscription | id | Retrieve a subscription | | list_subscriptions | customer (optional) | List subscriptions | | get_payment_intent | id | Retrieve a PaymentIntent | | list_payment_intents | customer (optional) | List PaymentIntents | | get_invoice | id | Retrieve an invoice | | list_invoices | customer/subscription (optional) | List invoices | | get_charge | id | Retrieve a charge | | list_charges | customer (optional) | List charges | | get_checkout_session | id | Retrieve a Checkout Session | | get_product | id | Retrieve a product | | get_price | id | Retrieve a price |

Assertion Types

stripe_field

Check a field value in the Stripe response:

{
  "type": "stripe_field",
  "path": "status",                  // dot-path (e.g. "items.data[0].price.id")
  "expected": "active",
  "condition": "equals"              // equals | contains | not_equals | exists | not_exists | greater_than | less_than
}

stripe_object_exists

Check whether the Stripe object exists:

{
  "type": "stripe_object_exists",
  "exists": true
}

License

MIT