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

@6edesign/cli

v0.1.15

Published

CLI for the 6edesign/zrpc framework

Readme

@6edesign/cli

This package provides the Command Line Interface (CLI) for the Stacker monorepo. It allows developers to interact with various aspects of the Stacker ecosystem, including deploying applications, managing workspaces, and eventually debugging and code generation.

The CLI is built with a config-driven architecture, making it highly extensible and easy to add new commands and interactive features.

Features

  • Config-Driven Commands: Commands and their options are defined declaratively using Zod schemas, simplifying development and ensuring consistency.
  • Interactive "Genie Mode": Automatically prompts users for missing required options, guiding them through complex operations with clear, interactive prompts.
  • One-Shot Mode: Supports direct command-line arguments for experienced users and automated CI/CD workflows.
  • Workspace Management: Discovers and interacts with workspaces defined in the monorepo.
  • Deployment Orchestration: Integrates with @6edesign/cicd to execute deployments using Pulumi.

Installation

The Stacker CLI is part of the Stacker monorepo. To use it, ensure you have pnpm installed and then run:

pnpm install

Usage

You can execute the Stacker CLI using pnpm exec stacker.

Interactive Mode (Genie Mode)

Run the CLI without any arguments to enter interactive mode:

pnpm exec stacker

The CLI will guide you through available commands and their options using prompts.

One-Shot Mode

Specify commands and options directly on the command line:

pnpm exec stacker deploy --workspace=shop --deployable=ui --environment=dev

Example: Deploying an Application

To deploy an application, you can use the deploy command.

Interactive Deployment

pnpm exec stacker deploy

Follow the prompts to select the workspace, deployable, and environment.

One-Shot Deployment

pnpm exec stacker deploy --workspace=my-app --deployable=dockerImage --environment=prod --version=1.0.0

Code Generation Commands

The CLI provides commands to quickly scaffold new projects, packages, and zRPC services, adhering to the monorepo's conventions.

New Project

To bootstrap a new monorepo project:

pnpm exec stacker new-project

Follow the prompts to configure your new project.

New Package

To create a new TypeScript package within the packages/ directory:

pnpm exec stacker new-package

Follow the prompts to define your new package.

New zRPC Service

To scaffold a new zRPC microservice within the apps/ directory:

pnpm exec stacker new-zrpc-service

Follow the prompts to configure your new service (JavaScript or TypeScript).

Development

To add new commands or extend existing ones:

  1. Define your command and its options in packages/cli/src/commands/definitions.ts using CliCommandSchema and CliOptionSchema.
  2. Implement the command's logic in its associated handler function.
  3. The CommandBuilder will automatically register your new command with the CLI.

Refer to packages/cli/src/types/cli.ts for the schema definitions and packages/cli/src/utils/command-builder.ts for how commands are built and interactive prompts are handled.