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

nucleon-cli

v1.0.6

Published

πŸš€ The Ultimate Developer Workflow Engine - One CLI to replace them all. Install globally: npm install -g nucleon-cli

Readme

⚑ Nucleon CLI

The Ultimate Developer Workflow Engine

One CLI to replace them all. Project initialization, code analysis, deployment, and complete workflow automation.


πŸ“¦ Installation

Global installation required:

npm install -g nucleon-cli

⚠️ Do not install locally - Nucleon is designed to work globally across all your projects.


πŸš€ Global Installation

npm install -g nucleon-cli

Important: Always install Nucleon globally with the -g flag to use it in any directory.

npm version npm downloads License: MIT Node.js Version

⚑ Quick Start

# 1. Install globally (required)
npm install -g nucleon-cli

# 2. Use anywhere
nucleon init
nucleon analyze
nucleon deploy

🎯 Why Nucleon?

Stop juggling 20+ CLI tools. Nucleon unifies your entire development workflow:

| Problem | Solution | |---------|----------| | ❌ Repetitive project setup | βœ… Smart initialization with real framework installation | | ❌ Messy commit messages | βœ… AI-powered commit generation | | ❌ Broken environments | βœ… Comprehensive health diagnostics | | ❌ No project insights | βœ… Deep codebase analysis with actionable suggestions | | ❌ Complex deployments | βœ… One-command deployment with pre-flight checks |

✨ Core Features

πŸ—οΈ Smart Project Initialization

nucleon init
  • Real framework installation (Next.js, React+Vite, Express, FastAPI)
  • Automatic dependency setup
  • Git initialization with best practices
  • Environment configuration

πŸ“Š Intelligent Code Analysis

nucleon analyze
  • Project health scoring
  • Architecture visualization
  • Dependency analysis
  • Performance insights
  • Security recommendations

πŸš€ Seamless Deployment

nucleon vercel deploy
  • Pre-deployment validation
  • Environment checks
  • Automatic framework detection
  • Deployment monitoring

βš™οΈ Complete Workflow Automation

nucleon git smart-commit    # Intelligent commits
nucleon task add "Feature"  # Task management  
nucleon deps                # Security auditing
nucleon summary             # Development metrics

πŸ“Έ Live Examples

Project Structure Visualization

πŸ—οΈ  Project Structure

└── πŸ“ my-app
    β”œβ”€β”€ πŸ“ src
    β”‚   β”œβ”€β”€ πŸ“ components
    β”‚   β”‚   β”œβ”€β”€ πŸ”· Header.tsx
    β”‚   β”‚   └── πŸ”· Footer.tsx
    β”‚   └── πŸ”· index.ts
    └── πŸ“‹ package.json

πŸ”— Dependency Graph: 15 modules analyzed
πŸ’‘ Insights: Clean React architecture detected

Smart Health Analysis

πŸ“Š Project Health Report

Language: TypeScript    Framework: Next.js
Files: 127              Test Coverage: 85%
Lines: 12,481          Dependencies: 23

⚠️  Warnings
  β€’ Large file: Dashboard.tsx (1,200 lines)
  
πŸ’‘ Suggestions  
  β€’ Split Dashboard into smaller components
  β€’ Add integration tests for API routes

πŸ”§ Environment Variables & Configuration

Automatic Configuration

Nucleon handles most environment setup automatically during installation:

  • PATH Setup: Adds npm global bin directory to your system PATH
  • Shell Integration: Updates .bashrc, .zshrc, or .bash_profile on Unix systems
  • Windows Registry: Configures user environment variables on Windows

Manual Configuration (if needed)

If you encounter "command not found" errors, manually configure your environment:

Windows

# Method 1: PowerShell (run as user)
$npmBin = npm bin -g
$env:PATH += ";$npmBin"

# Method 2: System Properties
# 1. Win + R β†’ "sysdm.cpl" β†’ Environment Variables
# 2. Edit user PATH variable
# 3. Add output of: npm bin -g

macOS/Linux

# Add to ~/.bashrc, ~/.zshrc, or ~/.bash_profile
echo 'export PATH="$PATH:$(npm bin -g)"' >> ~/.bashrc
source ~/.bashrc

# Or manually add the npm global bin path:
export PATH="$PATH:/usr/local/lib/node_modules/.bin"

Project Environment Variables

When initializing projects, Nucleon creates appropriate .env files:

# Express API projects get .env.example with:
PORT=3000
NODE_ENV=development

# Vercel deployments may need:
VERCEL_TOKEN=your_token_here

Troubleshooting

If Nucleon isn't working after installation:

  1. Check installation: nucleon --version
  2. Run diagnostics: nucleon doctor
  3. Reconfigure PATH: nucleon setup
  4. Manual setup: Follow platform-specific instructions above

πŸ“š Command Reference

| Command | Description | |---------|-------------| | nucleon init | Initialize projects with framework installation | | nucleon analyze | Deep project analysis and health check | | nucleon structure | Visualize project architecture | | nucleon vercel | Clean deployment workflow | | nucleon doctor | Environment diagnostics | | nucleon git | Enhanced Git operations | | nucleon task | Lightweight task management | | nucleon stats | Development metrics | | nucleon update | Auto-update to latest version |

🎯 Perfect For

  • 🎨 Frontend Developers - React, Next.js, Vue projects
  • βš™οΈ Backend Engineers - Express, FastAPI, Node.js APIs
  • πŸš€ Full-Stack Teams - End-to-end project management
  • ☁️ DevOps Engineers - Deployment automation
  • πŸ“¦ Open Source Maintainers - Project health monitoring

🌟 What Makes Nucleon Special

  • πŸ”„ Universal - Works in any directory, adapts to any project
  • 🧠 Intelligent - Context-aware commands that understand your project
  • ⚑ Fast - Optimized for developer productivity
  • πŸ”Œ Extensible - Plugin system for custom workflows
  • 🎨 Beautiful - Clean, colorful output that's easy to read
  • πŸ”„ Auto-updating - Always stay on the latest version

πŸ› οΈ Getting Started

1. Global Installation (Required)

npm install -g nucleon-cli

⚠️ Important: Nucleon must be installed globally to work in any directory. Do not use local installation.

2. Verify Installation

nucleon --version
nucleon --help

2. Verify Installation

nucleon --version
nucleon --help

3. Automatic Setup

Nucleon automatically configures your development environment:

  • βœ… Sets up PATH for global access
  • βœ… Installs Vercel CLI for deployments
  • βœ… Configures optional dev tools (TypeScript, ESLint, Prettier)

3. Manual Environment Setup (if needed)

If automatic setup fails, you can manually configure environment variables:

Windows:

  1. Open System Properties β†’ Environment Variables
  2. Add npm global bin directory to user PATH:
    # Get npm global bin path
    npm bin -g
    # Add the returned path to your PATH environment variable

macOS/Linux: Add to your shell config file (~/.bashrc, ~/.zshrc, or ~/.bash_profile):

# Add npm global bin to PATH
export PATH="$PATH:$(npm bin -g)"

Environment Variables for Projects:

  • PORT: Server port (default: 3000)
  • NODE_ENV: Environment mode (development/production)
  • VERCEL_TOKEN: For automated deployments
  • Project-specific variables in .env files

4. Start Using

nucleon init     # Create a new project
nucleon doctor   # Check your environment  
nucleon analyze  # Analyze any existing project

πŸ’‘ Pro Tip: Run nucleon doctor first to ensure your development environment is properly configured.

🀝 Contributing

We welcome contributions! Check out our Contributing Guide.

git clone https://github.com/namansharma28/nucleon
cd nucleon
npm install && npm run build
npm link  # Test locally

πŸ“„ License

MIT Β© Naman Sharma

🌟 Support

If Nucleon improves your workflow, please:

  • ⭐ Star this repo
  • 🐦 Share on Twitter
  • πŸ“ Write a review

Built with ❀️ for developers who want to focus on building, not tooling.