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

@aws-mdaa/cli

v1.5.0

Published

Modern Data Architecture Accelerator (MDAA) CLI

Readme

MDAA CLI

This package provides the MDAA orchestration layer. Specifically, it provides the mdaa command line utility and config parser, which can be used to orchestrate the execution and deployment of multiple MDAA-compliant CDK apps. See the top-level README for more details on MDAA.

Usage

mdaa <action> [options]

Actions

  • synth - Synthesize CloudFormation templates for all modules
  • diff - Show differences between current code and deployed stacks (or baseline templates)
  • deploy - Deploy all modules to AWS
  • destroy - Destroy all deployed modules
  • list / ls - List modules without deploying

Common Options

| Option | Alias | Description | |--------|-------|-------------| | --config <path> | -c | Path to MDAA config file (default: ./mdaa.yaml) | | --domain <name> | -d | Filter by domain name (comma-separated for multiple) | | --env <name> | -e | Filter by environment name (comma-separated for multiple) | | --module <name> | -m | Filter by module name (comma-separated for multiple) | | --working-dir <path> | -w | Override working directory (default: ./.mdaa_working) | | --role-arn <arn> | -r | IAM role ARN to assume for CDK operations | | --tag <tag> | -t | NPM dist-tag for package installation | | --mdaa-version <version> | -u | Override MDAA module version | | --cdk-verbose | -b | Increase CDK CLI verbosity | | --nofail | -f | Continue execution after failures | | --clear | -x | Clear working directory of installed packages | | --devops | -p | Deploy MDAA DevOps resources and pipelines | | --help | -h | Show help | | --version | -v | Show MDAA version |

Baseline Diff Options

These options enable comparing synthesized templates against stored baseline templates without requiring a deployed AWS environment:

| Option | Alias | Description | |--------|-------|-------------| | --cdk-out <path> | -k | Override CDK output directory (default: <working-dir>/cdk.out) | | --baseline <path> | -B | Compare against baseline templates in this directory instead of deployed stacks | | --diff-out <path> | -D | Write diff output for each module to files in this directory instead of console |

Baseline Diff Workflow

The baseline diff feature allows you to compare CloudFormation template changes without deploying to AWS. This is useful for:

  • Regression testing across releases
  • CI/CD pipelines to detect unexpected changes
  • Reviewing infrastructure changes before deployment

Setup Baselines

Generate baseline templates from a known-good version:

mdaa synth -k ./baselines

Commit the ./baselines directory to version control.

Compare Against Baselines

On each PR or code change, diff against the stored baselines:

mdaa diff -B ./baselines -D ./diff-output

This will:

  1. Synthesize current templates to the default working directory
  2. Compare each module's template against the baseline
  3. Write diff results to ./diff-output/{org}/{domain}/{env}/{module}/diff.txt
  4. Print a summary to console indicating which modules have changes

Advanced Usage

Generate new baselines while comparing against existing ones:

mdaa diff -k ./new-baselines -B ./current-baselines -D ./diff-output

This synthesizes to ./new-baselines, compares against ./current-baselines, and writes diffs to ./diff-output.

Examples

# Deploy all modules
mdaa deploy

# Deploy specific domain and environment
mdaa deploy -d analytics -e prod

# Synthesize templates to custom location
mdaa synth -k ./templates

# Diff against deployed stacks
mdaa diff

# Diff against baseline templates with output to files
mdaa diff -B ./baselines -D ./diff-results

# Deploy with specific MDAA version
mdaa deploy -u 1.4.0