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 🙏

© 2025 – Pkg Stats / Ryan Hefner

generator-cloud-tf-cjc

v0.1.6

Published

Yeoman generator for a public cloud terraform project.

Readme

Yeoman Generator - Cloud Terraform Scaffolding

Overview

This Yeoman generator creates Terraform project scaffolding for a cloud IaC project

Project Image

Supported Cloud Providers

  • Azure
  • AWS

Actions taken by the generator

Prompting

  • Asks for
    • project metadata values
    • target cloud provider
    • target cloud provider region
    • environments to be supported
      • choices include dev, prod, qa, sit, uat (dev and prod selected by default)
    • common cloud resource tags

Writing

  • Creates Cloud Backend Configuration Files (opinionated backend naming convention)
  • Creates Parameter Files
  • Creates Skeleton Terraform main.tf, variables.tf, and output.tf files

Installing

  • initializes the local git repo (with either git or git flow)

Optionally installs the following

  • python3-pip
  • terraform 0.12.30

Optionally configures the following

  • Git Flow
  • Atlantis Workflow
  • Pre-Commit Hooks for Terraform

The resulting project will have the following structure:

project
└───backends
|   |   dev-backend (default)
|   |   dev-project-backend-key (default)
|   |   prod-backend (default)
|   |   prod-project-backend-key (default)
|   |   qa-backend
|   |   qa-project-backend-key
|   |   sit-backend
|   |   sit-project-backend-key
|   |   uat-backend
|   |   uat-project-backend-key
└───parameters
|   |   dev-project.tfvars (default)
|   |   dev.tfvars (default)
|   |   prod-project.tfvars (default)
|   |   prod.tfvars (default)
|   |   qa-project.tfvars 
|   |   qa.tfvars
|   |   sit-project.tfvars 
|   |   sit.tfvars
|   |   uat-project.tfvars 
|   |   uat.tfvars
└───scripts
|   |   prep-tf-env.sh (optional)
|   .gitignore
|   .pre-commit-config.yaml (optional)
|   atlantis.yaml (optional)
|   main.tf
|   outputs.tf
|   README.md
|   variables.tf

Note: The "-backend-key" files contain the object name for the terraform state per environment. It is in a separate backend config file in the event that you want to support the creation of multiple instances of the resources defined in main.tf in the same environment (but managed under different tfstate). To do so, you would MANUALLY create additional -backend-key files with unique names. You will also have to MANJUALLY modify your atlantis config to support these additional "projects"

Usage

Development

  • TBD

Prerequisites

  • npm installed
  • Yeoman installed
  • Before the generated terraform project is initialized, backend storage must exist that matches the naming convention used in the backend config files

Configurations

  • TBD

Tests

  • TBD

Note: As of 3/24/21 this generator has only been tested on Ubuntu. Testing on additional operating systems coming soon.

Authors

Charlie Christina