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

kubit-forge

v0.0.2-canary.18

Published

World-class CLI for modern web development with enterprise-grade features: plugins, recipes, and DAG task engine

Readme

Kubit Forge

A world-class, extensible CLI for modern web development with enterprise-grade features

Version License TypeScript Node pnpm

Kubit Forge is an open-source, production-ready CLI that empowers developers to build modern web applications with confidence. From zero-config project initialization to AI-powered diagnostics, Kubit Forge provides everything you need to develop, test, and deploy world-class applications.


📚 Documentation

📖 Documentation Index - Complete documentation hub

Quick Access

Getting Started:

Core Features:

Framework & Extensibility:

Advanced Features:


Table of Contents


Why Kubit Forge?

Built for Modern Development

  • Zero Configuration - Start building immediately with sensible defaults
  • TypeScript First - Full type safety and IntelliSense support
  • Lightning Fast - Powered by Vite for instant HMR and optimized builds
  • Extensible - Plugin and recipe systems for unlimited customization
  • Enterprise Ready - Advanced diagnostics and compliance tools

Developer Experience

  • AI-Powered Diagnostics - Intelligent issue detection and auto-fix
  • Predictive Analysis - Prevent problems before they happen
  • Package Manager Agnostic - Works with npm, yarn, and pnpm
  • Monorepo Support - First-class support for Turborepo, Nx, pnpm workspaces, and more

Features

Project Initialization & Scaffolding

📖 Full Documentation

Create production-ready projects in seconds:

# React + TypeScript
kubit-forge init react my-app

# Vanilla TypeScript
kubit-forge init vanilla my-app

What you get:

  • TypeScript configuration
  • Vite build setup
  • ESLint & Prettier
  • Testing infrastructure
  • Git initialization
  • Package manager detection

Template System

Bootstrap projects with pre-configured templates:

# List available templates
kubit-forge template:list

# Use a template
kubit-forge template:use react-ts-bernova my-app

Available Templates:

  • react-ts - React + TypeScript
  • react-ts-bernova - React + TypeScript + Bernova Design System
  • react-ts-storybook - React + TypeScript + Storybook
  • vanilla-ts - Vanilla TypeScript

Add Command - Feature Installation

📖 Full Documentation

Add features to existing projects with zero configuration:

# Add linting
kubit-forge add eslint
kubit-forge add prettier

# Add testing
kubit-forge add vitest
kubit-forge add playwright
kubit-forge add testing-library

# Add styling
kubit-forge add bernova
kubit-forge add styled-components

# Add development tools
kubit-forge add storybook
kubit-forge add husky
kubit-forge add lint-staged
kubit-forge add commitlint
kubit-forge add changesets

# Add routing
kubit-forge add react-router

Development Commands

📖 Full Documentation

Streamlined development workflow:

# Start development server
kubit-forge dev

# Build for production
kubit-forge build

# Run tests
kubit-forge test

# Lint code
kubit-forge lint --fix

# Format code
kubit-forge format

# Type check
kubit-forge typecheck

# Run all checks
kubit-forge check

Quality & Diagnostics

📖 Full Documentation

# Show project information
kubit-forge info --detailed

# AI-powered diagnostics
kubit-forge doctor

# Auto-fix issues
kubit-forge doctor --fix

# Predictive analysis
kubit-forge doctor --predictive

Plugin System

📖 Full Documentation | Plugins vs Recipes Guide

Core CLI Philosophy

Kubit Forge core is intentionally lightweight and focused on essential commands. Advanced features are available as optional plugins that you install only when needed.

Extend Kubit Forge with powerful plugins:

Plugin Commands

# Search for plugins
kubit-forge plugin:search testing

# Install a plugin
kubit-forge plugin:install @kubit/plugin-analytics

# List installed plugins
kubit-forge plugin:list

# Verify plugin integrity
kubit-forge plugin:verify @kubit/plugin-analytics

Plugin Capabilities

  • Custom Commands - Add new CLI commands
  • Lifecycle Hooks - Hook into build, dev, and other events
  • Custom Generators - Add code generators
  • Configuration Extensions - Extend project configuration
  • Task Runners - Add custom task execution

Creating a Plugin

// my-plugin.ts
import { Plugin } from 'kubit-forge';

export default {
  name: 'my-plugin',
  version: '1.0.0',

  commands: {
    'my-command': async (args) => {
      console.log('Running my custom command!');
    },
  },

  hooks: {
    'build:before': async () => {
      console.log('Before build hook');
    },
  },
} satisfies Plugin;

Recipe System

📖 Full Documentation

Automate complex workflows with declarative recipes:

Recipe Commands

# List available recipes
kubit-forge recipe:list

# Run a recipe
kubit-forge recipe:run react-setup

# Add custom recipe
kubit-forge recipe:add ./my-recipe.toml

Built-in Recipes

  • react-setup - Complete React project setup
  • testing-setup - Full testing infrastructure
  • ci-cd-setup - CI/CD pipeline configuration

Recipe Features

  • DAG-based Execution - Parallel task execution with dependency resolution
  • Declarative Syntax - TOML-based configuration
  • Composable - Combine multiple recipes
  • Idempotent - Safe to run multiple times

Example Recipe

[recipe]
name = "react-setup"
description = "Complete React project setup"
version = "1.0.0"

[[tasks]]
id = "install-deps"
command = "add"
args = ["react", "react-dom"]

[[tasks]]
id = "add-eslint"
command = "add"
args = ["eslint"]
depends_on = ["install-deps"]

[[tasks]]
id = "add-prettier"
command = "add"
args = ["prettier"]
depends_on = ["install-deps"]

[[tasks]]
id = "add-testing"
command = "add"
args = ["vitest"]
depends_on = ["install-deps"]

Monorepo Support

Full Documentation

First-class support for monorepo tools:

Supported Tools

  • pnpm workspaces
  • yarn workspaces
  • npm workspaces
  • Turborepo
  • Nx
  • Lerna

Monorepo Commands

# Initialize monorepo
kubit-forge monorepo:init --tool pnpm

# Add package to monorepo
kubit-forge monorepo:add my-package

# List all packages
kubit-forge monorepo:list

# Show monorepo information
kubit-forge monorepo:info

Features

  • Workspace Detection - Automatic detection of monorepo structure
  • Dependency Management - Smart dependency resolution
  • Task Orchestration - Parallel task execution across packages
  • Selective Builds - Build only affected packages

Doctor Command

📖 Full Documentation

AI-powered diagnostics with auto-fix capabilities:

# Run diagnostics
kubit-forge doctor

# Auto-fix issues
kubit-forge doctor --fix

# Predictive analysis
kubit-forge doctor --predictive

Doctor Capabilities

  • Intelligent Issue Detection - AI-powered problem identification
  • Auto-fix - Automatic issue resolution
  • Predictive Analysis - Prevent issues before they happen
  • Dependency Health Checks - Verify dependency integrity
  • Configuration Validation - Validate project configuration
  • Security Vulnerability Detection - Scan for vulnerabilities
  • Performance Analysis - Identify performance bottlenecks
  • IDE Integration - Support for VS Code and other IDEs
  • Personalized Recommendations - Context-aware suggestions

Example Output

Running diagnostics...

✓ TypeScript configuration is valid
✓ Dependencies are up to date
⚠ ESLint configuration has warnings
  → Auto-fix available: kubit-forge doctor --fix

✓ No security vulnerabilities found
⚠ Performance: Large bundle size detected
  → Recommendation: Enable code splitting

Predictive Analysis:
  → Potential issue: Deprecated dependency detected
  → Action: Update to @package/new-version

Smart Dependency Management

📖 Full Documentation

Intelligent dependency analysis and optimization:

# Visualize dependency tree
kubit-forge deps:analyze

# Explain why a package is installed
kubit-forge deps:why <package>

# Find and eliminate duplicates
kubit-forge deps:dedupe

# Smart update suggestions
kubit-forge deps:update

# Discover better alternatives
kubit-forge deps:alternatives <package>

# Export dependency report
kubit-forge deps:export --format markdown

Dependency Management Features

  • Visual Dependency Tree - Interactive tree visualization with filtering
  • Package Origin Analysis - Understand dependency chains
  • Smart Deduplication - Eliminate redundant packages automatically
  • Intelligent Updates - Safety analysis with breaking change detection
  • Alternative Suggestions - Discover lighter, modern replacements
  • Security Focus - Highlight vulnerabilities and critical updates
  • Export Reports - JSON, Markdown, CSV formats for documentation
  • Bundle Optimization - Reduce package count and bundle size

Example Workflow

# 1. Analyze current state
kubit-forge deps:analyze --depth 3

# 2. Check for duplicates
kubit-forge deps:dedupe --dry-run

# 3. Find better alternatives
kubit-forge deps:alternatives moment

# 4. Check for updates
kubit-forge deps:update --security

# 5. Export report
kubit-forge deps:export --format markdown

Learn more: See DEPENDENCY_MANAGEMENT.md for complete documentation.


Migrations & Upgrades

📖 Full Documentation

Safe upgrades and automated refactoring:

# Upgrade dependencies
kubit-forge upgrade

# Run migration
kubit-forge migrate <codename>

# List available migrations
kubit-forge migrate:list

Migration Features

  • Automated Refactoring - Safe code transformations
  • Breaking Change Detection - Identify breaking changes
  • Rollback Support - Undo migrations if needed
  • Dry Run - Preview changes before applying
  • Custom Migrations - Create organization-specific migrations

Code Generation

📖 Full Documentation

Generate code scaffolds with best practices:

# Generate component
kubit-forge generate component Button

# Generate page
kubit-forge generate page Home

# Generate hook
kubit-forge generate hook useAuth

# Generate service
kubit-forge generate service api

# Generate utility
kubit-forge generate util formatDate

# Generate test
kubit-forge generate test Button

Generator Features

  • TypeScript Support - Full type safety
  • Best Practices - Follow industry standards
  • Customizable Templates - Override default templates
  • Consistent Structure - Maintain project consistency

Configuration

📖 Full Documentation

Configure Kubit Forge with kubit.config.toml:

[project]
name = "my-app"
version = "1.0.0"
description = "My awesome app"

[build]
outDir = "dist"
sourcemap = true
minify = true

[dev]
port = 3000
open = true
host = "localhost"

[quality]
lint = true
format = true
typecheck = true
test = true

[plugins]
enabled = ["@kubit/plugin-analytics", "@kubit/plugin-sentry"]

[paths]
src = "./src"
public = "./public"
dist = "./dist"

Environment Variables

📖 Full Documentation

Manage environment variables securely:

# Initialize .env file
kubit-forge env init

# Validate environment variables
kubit-forge env validate

# Show environment info
kubit-forge env info

Business Integration

Extend Kubit Forge for your organization:

Enterprise Features

  • Custom Command Registration - Add organization-specific commands
  • Private Plugin Registry - Host internal plugins
  • Organization Templates - Company-specific project templates
  • Compliance Tools - Custom compliance checks
  • Custom Recipes - Organization-specific workflows

Example: Custom Command

// .kubit/commands/deploy.ts
export default {
  name: 'deploy',
  description: 'Deploy to company infrastructure',

  async execute(args) {
    // Custom deployment logic
    console.log('Deploying to production...');
  },
};

Installation

Prerequisites

  • Node.js >= 20.0.0
  • pnpm >= 10.0.0 (recommended) or npm/yarn

Global Installation

# Using pnpm (recommended)
pnpm add -g kubit-forge

# Using npm
npm install -g kubit-forge

# Using yarn
yarn global add kubit-forge

Local Installation

# Using pnpm
pnpm add -D kubit-forge

# Using npm
npm install --save-dev kubit-forge

# Using yarn
yarn add -D kubit-forge

Verify Installation

kubit-forge --version
kubit-forge --help

Quick Start

1. Create a New Project

# Create React app
kubit-forge init react my-app
cd my-app

# Start development server
kubit-forge dev

2. Add Features

# Add testing
kubit-forge add vitest

# Add Storybook
kubit-forge add storybook

# Add linting
kubit-forge add eslint prettier

3. Run Quality Checks

# Run all checks
kubit-forge check

# Or run individually
kubit-forge lint
kubit-forge typecheck
kubit-forge test

4. Build for Production

kubit-forge build

Contributing

We welcome contributions from the community! Here's how you can help:

Ways to Contribute

  • Report Bugs - Open an issue on GitHub
  • Suggest Features - Share your ideas
  • Submit PRs - Fix bugs or add features
  • Improve Documentation - Help others learn
  • Create Plugins - Extend functionality
  • Share Recipes - Automate workflows

Development Setup

# Clone the repository
git clone https://github.com/kubit-ui/kubit-forge.git
cd kubit-forge

# Install dependencies
pnpm install

# Build the project
pnpm build

# Link for local development
pnpm dev:link

# Run tests
pnpm test

# Run linter
pnpm lint

Pull Request Process

  1. Fork the repository
  2. Create a feature branch (git checkout -b feat/amazing-feature)
  3. Commit your changes using Conventional Commits
  4. Push to your fork (git push origin feat/amazing-feature)
  5. Open a Pull Request

Commit Convention

We use Conventional Commits:

feat: add new plugin system
fix: resolve build issue
docs: update README
chore: update dependencies
test: add unit tests

Code of Conduct

Please read our Code of Conduct before contributing.


Community

  • GitHub Discussions - Ask questions and share ideas
  • Discord - Join our community (coming soon)
  • Twitter - Follow @kubit_ui
  • Blog - Read about new features and best practices

Roadmap

Current (v0.x)

  • ✅ Core CLI functionality
  • ✅ Plugin system
  • ✅ Recipe system
  • ✅ Monorepo support
  • ✅ Doctor command
  • ✅ Smart Dependency Management

Upcoming (v1.x)

  • 🔄 Visual Studio Code extension
  • 🔄 Cloud deployment integrations
  • 🔄 Advanced caching strategies
  • 🔄 Remote plugin registry
  • 🔄 AI-powered code reviews
  • 🔄 Performance profiling tools

Future (v2.x)

  • 📋 Multi-language support (Go, Rust, Python)
  • 📋 Kubernetes integration
  • 📋 Serverless deployment
  • 📋 Advanced monitoring and observability

Changelog

See CHANGELOG.md for a detailed history of changes.


License

Kubit Forge is MIT licensed.


Acknowledgments

Built with ❤️ by the Kubit team and contributors.

Special thanks to:


Support


WebsiteDocumentationGitHubNPM

Made with ❤️ for the open-source community