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

stack-composer

v1.1.0

Published

Scaffold modern web projects fast via npx — interactive, flag-based, or AI-agent friendly.

Readme

Stack Composer

Scaffold modern web projects — fast, clean, complete.

A professional CLI tool that combines interactive menus, flag-based workflows, and AI-agent compatibility to create fully-configured projects in seconds.

Features

  • Beautiful interactive UI — Elegant prompts with Figlet banners, Chalk colors, and Ora spinners
  • 6 curated stacks — Next.js Full, Next.js + Shadcn, Astro, TanStack Start, Vite + React, SvelteKit
  • Ultra-fast mode--yes flag to accept all defaults
  • AI-agent friendly--json flag for structured output
  • Hyper-optimized binary — Minified and lightweight (~16KB) for instant execution
  • Smart flag merging — Flags fill in values, prompts ask only what's missing
  • Zero-config Tailwind — Auto-configures VS Code to suppress Unknown at rule warnings
  • Multi-PM support — pnpm (default), npm, or yarn

Installation

For the fastest possible experience (zero network latency), install it globally:

npm install -g stack-composer

Now you can just type:

stack-composer create

Usage Modes

Interactive Mode (default)

stack-composer create

Launches a beautiful interactive menu where you pick your stack, name, and options.

Flag Mode

stack-composer create next-full my-app --tailwind --eslint --git

Specify values via flags. Missing values will be prompted interactively.

Ultra-Fast Mode

stack-composer create next-full my-app --yes

Accepts all defaults. Zero prompts. Fastest possible project creation.

AI Agent Mode

stack-composer create next-full my-app --json --yes

Outputs a structured JSON object for programmatic use:

{
  "success": true,
  "projectPath": "/path/to/my-app",
  "stack": "next-full",
  "installedPackages": ["TypeScript", "Tailwind CSS", "ESLint"],
  "configApplied": ["base-scaffold", "post-setup", "tailwind-no-warnings", "git-init"],
  "packageManager": "pnpm",
  "messages": ["Project created in 12.3s"],
  "errors": [],
  "duration": 12345
}

List Stacks

stack-composer list          # Pretty output
stack-composer list --json   # JSON output

Available Stacks

| Stack ID | Description | | ------------- | ------------------------------------------------------------------- | | next-full | Next.js 15 (App Router) + TypeScript + Tailwind + ESLint + Prettier | | next-shadcn | Next.js 15 + Tailwind + Shadcn/ui + TypeScript | | astro | Astro + Tailwind + TypeScript | | tanstack | TanStack Start (Router + Query) + Tailwind + TypeScript | | vite-react | Vite + React + Tailwind + TypeScript | | sveltekit | SvelteKit + Tailwind + TypeScript |

Flags Reference

| Flag | Description | Default | | ---------------- | -------------------------------- | ------- | | --tailwind | Include Tailwind CSS | true | | --no-tailwind | Exclude Tailwind CSS | | | --eslint | Include ESLint | true | | --no-eslint | Exclude ESLint | | | --prettier | Include Prettier | true | | --no-prettier | Exclude Prettier | | | --git | Initialize Git + first commit | true | | --no-git | Skip Git | | | --pm <manager> | Package manager: pnpm, npm, yarn | pnpm | | -y, --yes | Accept all defaults | | | --json | Output JSON (for AI agents) | | | --skills | Comma-separated list of additional skills/packages to install | false |

Development

# Clone and install
git clone  && cd stack-composer
pnpm install

# Build
pnpm build

# Test interactively
node dist/cli.js create

# Test with flags
node dist/cli.js create next-full test-app --yes

# Test JSON output
node dist/cli.js create next-full test-app --json --yes

# Watch mode
pnpm dev

Using from AI Agents

AI agents (Claude Code, Cursor, Aider, etc.) can call stack-composer programmatically:

# Create a project with JSON output
stack-composer create next-full my-project --json --yes 2>/dev/null

Parse the JSON response to verify success, check configApplied, and get the projectPath.

License

MIT

If you find any mistakes please open a Github Issue