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

@dga-itc/aws-cdk-constructs

v1.0.1

Published

Reusable AWS infrastructure constructs for AWS CDK

Readme

@dga-itc/aws-cdk-constructs

Reusable AWS infrastructure constructs for AWS CDK projects.

Overview

This package provides a collection of well-tested, production-ready infrastructure constructs:

  • VPC: Multi-AZ VPC with public/private subnets, NAT gateways, flow logs
  • ALB: Application Load Balancer with HTTP/HTTPS listeners
  • NLB: Network Load Balancer with TCP/TLS listeners
  • ECS Cluster: Fargate-enabled cluster with container insights
  • ECS Service: Fargate service with ALB integration, auto-scaling support
  • RDS: PostgreSQL/MySQL databases with automated backups
  • ElastiCache: Redis/Memcached clusters
  • EFS: Elastic File System with encryption
  • Bastion: EC2 bastion host for secure access
  • NACL: Network ACL rules management
  • ECR: Container registry with lifecycle policies
  • ACM: Certificate Manager (request / import self-signed)
  • CloudFront: Distribution with ALB origin
  • SQS: Queue with DLQ support
  • WAF: Web Application Firewall

Installation

npm install @dga-itc/aws-cdk-constructs

Usage

import { Stack, StackProps } from 'aws-cdk-lib';
import { Construct } from 'constructs';
import { VpcConstruct, AlbConstruct, EcsClusterConstruct } from '@dga-itc/aws-cdk-constructs';

export class MyInfraStack extends Stack {
  constructor(scope: Construct, id: string, props?: StackProps) {
    super(scope, id, props);

    // Create VPC
    const vpc = new VpcConstruct(this, 'MyVpc', {
      vpcName: 'my-vpc',
      cidr: '10.0.0.0/16',
      maxAzs: 2,
      natGateways: 1,
    });

    // Create ALB
    const alb = new AlbConstruct(this, 'MyAlb', {
      albName: 'my-alb',
      vpc: vpc.vpc,
      internetFacing: true,
    });

    // Create ECS Cluster
    const cluster = new EcsClusterConstruct(this, 'MyCluster', {
      clusterName: 'my-cluster',
      vpc: vpc.vpc,
      containerInsights: true,
    });
  }
}

Available Constructs

| Construct | Description | |-----------|-------------| | VpcConstruct | VPC with public/private subnets | | AlbConstruct | Application Load Balancer | | NlbConstruct | Network Load Balancer | | EcsClusterConstruct | ECS Cluster with capacity providers | | CdkEcsServiceConstruct | ECS Fargate Service with ALB integration | | RdsConstruct | RDS Database (PostgreSQL/MySQL) | | ElastiCacheConstruct | Redis cluster | | EfsConstruct | Elastic File System | | BastionConstruct | Bastion host for SSH access | | NaclConstruct | Network ACL rules | | EcrConstruct | ECR repository | | AcmConstruct | ACM Certificate (request/import) | | CloudFrontConstruct | CloudFront Distribution | | SqsConstruct | SQS Queue with DLQ | | WafConstruct | WAF WebACL | | SelfSignedCertificateConstruct | Self-signed certificate for dev/test | | PriorityTracker | Utility for managing ALB rule priorities |

Peer Dependencies

  • aws-cdk-lib: ^2.0.0
  • constructs: ^10.0.0

Development

npm run build
npm test

License

MIT