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

@forgedevstack/forge-cli

v1.0.2

Published

CLI to create and manage ForgeStack projects - React apps with optional server, state management, and UI components

Readme

Forge CLI


Quick Start

# With npx
npx create-forge my-app

# With pnpm
pnpm create forge my-app

# With yarn
yarn create forge my-app

# With bun
bunx create-forge my-app

Features

  • Multiple Templates - React, Server, Full-Stack monorepo
  • Select All Packages - One-click to include all ForgeStack packages
  • Bear UI Integration - Beautiful component library with customizable themes
  • Synapse State - Powerful state management with "nuclear" folder structure
  • Forge Compass - Type-safe routing with guards
  • Forge Form - Advanced form management
  • Forge Query - Data fetching with caching
  • Grid Table - Powerful data grid component
  • Relay - Zero-dependency HTTP client with WebSocket support
  • Forge Auth - Authentication & OAuth (Google, Facebook, GitHub)
  • Crucible - Full-stack testing framework (client & server)
  • Anvil Utils - Common utilities and hooks
  • Harbor Backend - Complete Node.js framework (MongoDB, JWT, WebSocket, Scheduling)
  • Multiple Package Managers - npm, pnpm, yarn, bun
  • Docker Support - Production-ready Dockerfile and docker-compose
  • Code Generators - Generate pages, components, and slices

Commands

Create a New Project

forge create [project-name]

# Options:
#   -t, --template <template>       Project template (react, server, fullstack)
#   -p, --package-manager <pm>      Package manager (npm, pnpm, yarn, bun)
#   -o, --out-dir <path>            Output directory
#   -y, --yes                       Skip prompts and use defaults

Add ForgeStack Packages

forge add [package]

# Available packages:
#   bear          - UI Component Library
#   grid-table    - Data Grid
#   forge-query   - Data Fetching
#   forge-form    - Form Management
#   forge-compass - Routing
#   synapse       - State Management
#   anvil         - Utilities & Hooks
#   harbor        - Backend Framework
#   relay         - HTTP Client & WebSockets
#   forge-auth    - Authentication & OAuth
#   crucible      - Testing Framework (client & server)

# Options:
#   -c, --color <hex>               Bear UI primary color
#   -s, --scope <scope>             Crucible scope (client, server, both)

Generate Synapse Nuclear Slice

forge nuclear [slice-name]

# Options:
#   -p, --path <path>               Base path (default: src)

Templates

React (react)

  • Vite + React 18 + TypeScript
  • Bear UI with theme customization
  • Forge Compass routing
  • Synapse state with nuclear structure
  • Anvil utilities
  • Grid Table for data display
  • API layer with Synapse hooks

Server Only (server)

Choose between two server frameworks:

| Framework | Description | |-----------|-------------| | Harbor | ForgeStack's complete backend framework (recommended) | | Express | Standard Express.js setup |

Harbor includes:

  • Zero-config server (Express under the hood)
  • MongoDB ODM (optional)
  • JWT authentication ready
  • Built-in validation
  • Rate limiting & caching
  • Health checks & metrics

Full-Stack Monorepo (fullstack)

  • Workspace-based monorepo
  • Client with React + Vite
  • Server with Harbor or Express

Project Structure

src/
├── api/                # API client & hooks
├── components/         # UI components
│   ├── Layout/
│   └── common/
├── config/             # App configuration
├── pages/              # Page components
│   └── Home/
│       ├── Home.tsx
│       ├── Home.types.ts
│       └── index.ts
├── types/              # TypeScript types
└── nuclear/            # Synapse state (if enabled)
    ├── config/
    └── slices/
        └── app/
            ├── app.nucleus.ts
            ├── app.hooks.ts
            └── index.ts

Generated Scripts

# Start development server
npm run dev

# Build for production
npm run build

# Generate new page
npm run generate:page

# Generate new component
npm run generate:component

# Generate Synapse slice
npm run generate:slice

# Docker
npm run docker:build
npm run docker:compose

Examples

Create with All Options

npx create-forge my-app --template react --package-manager pnpm --yes

Custom Output Directory

npx create-forge my-app --out-dir ./projects/my-app

Add Packages to Existing Project

cd my-project
npx forge add bear --color "#3b82f6"
npx forge add synapse
npx forge add relay
npx forge add forge-auth
npx forge add crucible --scope both
npx forge nuclear user
npx forge nuclear cart

ForgeStack Packages

| Package | Version | Description | |---------|---------|-------------| | @forgedevstack/bear | npm | UI Component Library | | @forgedevstack/synapse | npm | State Management | | @forgedevstack/forge-compass | npm | Routing | | @forgedevstack/forge-form | npm | Form Management | | @forgedevstack/forge-query | npm | Data Fetching | | @forgedevstack/grid-table | npm | Data Grid | | @forgedevstack/relay | npm | HTTP Client & WebSockets | | @forgedevstack/forge-auth | npm | Authentication & OAuth | | @forgedevstack/crucible | npm | Testing Framework | | @forgedevstack/anvil | npm | Utilities | | @forgedevstack/harbor | npm | Backend Framework |

Documentation

Changelog

See CHANGELOG.md for release history.

License

MIT © ForgeStack