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

hydrogen-forge

v0.2.5

Published

CLI for creating and managing Hydrogen Forge projects

Downloads

1,100

Readme

hydrogen-forge

CLI for creating and managing Hydrogen Forge projects.

Installation

npm install -g hydrogen-forge

Or use directly with npx:

npx hydrogen-forge create my-store

Commands

create

Create a new Hydrogen Forge project.

hydrogen-forge create [name]

Options:

| Option | Description | | ---------------- | ---------------------------------- | | -t, --template | Template to use (default: starter) | | --skip-install | Skip npm install | | --skip-git | Skip git initialization |

Examples:

# Interactive mode
hydrogen-forge create

# With project name
hydrogen-forge create my-store

# Skip npm install
hydrogen-forge create my-store --skip-install

# Use different template
hydrogen-forge create my-store --template starter

add

Add a component or route to your project.

hydrogen-forge add <type> <name>

Types:

  • component - Add a React component
  • route - Add a React Router route

Options:

| Option | Description | | ------------- | ------------------------- | | -d, --dir | Output directory | | --no-styles | Skip Tailwind CSS classes |

Examples:

# Add a component
hydrogen-forge add component ProductCard
hydrogen-forge add component CartDrawer
hydrogen-forge add component NewsletterForm

# Add a route
hydrogen-forge add route products.$handle
hydrogen-forge add route collections._index
hydrogen-forge add route api.webhook

# Custom directory
hydrogen-forge add component ProductCard --dir app/components/products

# Without Tailwind styles
hydrogen-forge add component BasicCard --no-styles

Component Types (auto-detected from name):

| Name Contains | Template Type | | ------------- | ----------------------------------- | | Product | Product component with Image, Money | | Collection | Collection card with overlay | | Cart | Cart line item with CartForm | | Form | Form with useNavigation | | Layout | Layout wrapper with slots | | (other) | Basic component |

Route Types (auto-detected from name):

| Name Pattern | Template Type | | -------------- | --------------- | | api.* | API endpoint | | account* | Account page | | *product* | Product page | | *collection* | Collection page | | (other) | Standard page |

setup-mcp

Configure MCP servers for Claude Code.

hydrogen-forge setup-mcp

Options:

| Option | Description | | ------------ | ------------------------ | | --shopify | Set up Shopify MCP only | | --hydrogen | Set up Hydrogen MCP only |

Examples:

# Interactive setup (both MCPs)
hydrogen-forge setup-mcp

# Shopify MCP only
hydrogen-forge setup-mcp --shopify

# Hydrogen MCP only
hydrogen-forge setup-mcp --hydrogen

This command will:

  1. Detect your Claude Code configuration location
  2. Prompt for Shopify store credentials (if configuring Shopify MCP)
  3. Add MCP server configurations to claude_desktop_config.json

Quick Start

# Create a new project
npx hydrogen-forge create my-store
cd my-store

# Connect to Shopify
npx shopify hydrogen link

# Start development
npm run dev

# Set up MCP servers for Claude Code
npx hydrogen-forge setup-mcp

Project Structure

Projects created with hydrogen-forge create include:

my-store/
├── app/
│   ├── components/     # React components
│   ├── routes/         # React Router routes
│   ├── lib/            # Utilities
│   └── styles/         # CSS files
├── public/             # Static assets
├── .env                # Environment variables
├── package.json
├── tailwind.config.js
└── vite.config.ts

MCP Servers

After running setup-mcp, you'll have access to:

Shopify MCP

  • executeGraphQL - Run any Shopify Admin API query
  • createProduct - Create products with variants
  • updateProduct - Update product fields
  • getProduct - Get product by ID or handle
  • listProducts - List and filter products
  • deleteProduct - Delete products
  • updateInventory - Set inventory quantity
  • adjustInventory - Adjust inventory by delta
  • getInventoryLevels - Get stock levels
  • listLocations - List inventory locations
  • getProductInventory - Get variant inventory

Hydrogen MCP

  • scaffoldComponent - Generate component files
  • scaffoldRoute - Generate route files
  • analyzeProject - Analyze project structure

Requirements

  • Node.js 20.0.0 or later
  • npm, pnpm, or yarn

License

MIT