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

create-stackform

v1.0.0

Published

Create Stackform-ready projects with a single command

Downloads

20

Readme


Quick Start

npx create-stackform@latest my-project

That's it. Pick a template, and you'll have a production-ready project configured for AWS deployment.

Works with every package manager:

npx  create-stackform@latest my-project    # npm (recommended)
yarn create stackform my-project            # yarn
pnpm create stackform my-project            # pnpm
bun  create stackform my-project            # bun

Templates

Next.js

Full-stack web application with App Router, Tailwind CSS, and standalone output — ready for serverless deployment.

npx create-stackform@latest my-app --template nextjs
my-app/
├── src/app/           # App Router pages & API routes
├── public/            # Static assets
├── stackform.json     # Deployment config
├── next.config.ts     # standalone output enabled
└── package.json

CDK (TypeScript)

AWS infrastructure as code with a ready-to-deploy stack.

npx create-stackform@latest my-infra --template cdk
my-infra/
├── bin/app.ts         # CDK app entry point
├── lib/app-stack.ts   # Your infrastructure
├── stackform.json     # Deployment config
├── cdk.json
└── package.json

Docker

Containerized application with a production-optimized multi-stage Dockerfile, health checks, and ECS Fargate compatibility.

npx create-stackform@latest my-service --template docker
my-service/
├── src/index.ts       # Fastify server
├── Dockerfile         # Multi-stage, production-ready
├── docker-compose.yml # Local development
├── stackform.json     # Deployment config
└── package.json

Terraform

HashiCorp Terraform with AWS provider pre-configured and best-practice file structure.

npx create-stackform@latest my-infra --template terraform
my-infra/
├── main.tf            # Resources
├── variables.tf       # Input variables
├── outputs.tf         # Outputs
├── providers.tf       # AWS provider config
└── stackform.json     # Deployment config

Examples

Ready-to-use example projects are available in the examples/ directory:

| Example | Description | |---------|-------------| | examples/nextjs | Next.js 16 with App Router & Tailwind CSS | | examples/cdk | AWS CDK TypeScript stack | | examples/docker | Containerized Fastify service | | examples/terraform | Terraform AWS infrastructure |

Each example was generated with create-stackform and is ready to deploy as-is.


Options

Usage: create-stackform [options] [project-name]

Arguments:
  project-name                 Name of the project to create

Options:
  -V, --version                Print version
  -t, --template <type>        Project template (nextjs, cdk, docker, terraform)
  --no-typescript              Scaffold without TypeScript
  --no-git                     Skip git repository initialization
  --no-install                 Skip dependency installation
  --package-manager <pm>       Package manager (npm, yarn, pnpm, bun)
  -h, --help                   Show help

Non-Interactive (CI/Scripting)

npx create-stackform@latest my-project \
  --template nextjs \
  --no-git \
  --no-install

stackform.json

Every project includes a stackform.json that tells Stackform how to build and deploy:

{
  "name": "my-project",
  "type": "nextjs",
  "version": "1.0.0",
  "deploy": {
    "buildCommand": "npm run build",
    "outputDir": ".next"
  }
}

Zero-config deployments — connect your repo and click deploy.


Deploy to AWS

Your infrastructure is live. Stackform handles provisioning, builds, and deployments so you can focus on code.

Get started →


Development

git clone https://github.com/stackform-io/create-stackform.git
cd create-stackform
npm install
npm run build
node dist/index.js my-test-project

License

Copyright © 2025 Stackform, Inc.

This project is licensed under the Business Source License 1.1 (BSL 1.1).

  • Allowed: Use, copy, modify, and redistribute for any purpose — personal projects, commercial applications, internal tooling.
  • Not allowed: Using this software to offer a commercial hosted deployment platform that competes with Stackform.
  • Change date: Four years after each release, the code automatically converts to the Apache 2.0 license.

See the LICENSE file for the full text.