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

@codeweavrs/cli

v1.0.0

Published

An CLI tool to generate and manage CodeWeavers projects.

Readme

CodeWeavers CLI

A command-line interface tool for scaffolding and managing React projects with pre-built modules. This CLI helps you quickly bootstrap new projects and add modular components to existing ones.

Features

  • 🚀 Quick Project Initialization - Create new projects from a pre-configured template
  • 📦 Module System - Add pre-built modules (components, routes, and server logic) to your project
  • 🔧 Dependency Management - Automatically tracks and suggests required dependencies
  • 💡 Interactive Prompts - User-friendly interface with confirmation prompts
  • 🎨 Beautiful Output - Colored terminal output with progress indicators

Installation

Install the CLI globally using pnpm:

pnpm install -g codeweavers-cli

Or use it directly with npx:

npx codeweavers-cli

Commands

init - Create a New Project

Create a new project based on the default template:

codeweavers-cli init [project-name]

Examples:

# Create project in current directory
codeweavers-cli init

# Create project in a new directory
codeweavers-cli init my-awesome-app

What it includes:

  • React + TypeScript setup
  • Vite configuration
  • TanStack Router for routing
  • Authentication setup
  • UI components with Tailwind CSS
  • tRPC for type-safe APIs
  • Database setup with Drizzle ORM
  • Docker configuration

add - Add Modules

Add one or more pre-built modules to your existing project:

codeweavers-cli add <module1> [module2] [module3] ...

Examples:

# Add a single module
codeweavers-cli add overview

# Add multiple modules
codeweavers-cli add users agenda finance

Available Modules

| Module | Description | Key Features | |--------|-------------|--------------| | overview | Dashboard overview with analytics | Admin/User views, charts, statistics | | users | User management system | CRUD operations, scheduling, technical info | | agenda | Appointment scheduling | Calendar, booking forms, doctor selection | | finance | Financial management | Analytics, reports, transactions, metrics | | payment | Payment processing | Payment forms, patient lists, billing | | profile | User profile management | Settings, privacy, schedule configuration |

Project Structure

The CLI works with projects that follow this structure:

your-project/
├── src/
│   ├── components/
│   │   └── ui/              # Reusable UI components
│   ├── routes/              # Page routes and components
│   │   ├── overview/
│   │   ├── users/
│   │   ├── agenda/
│   │   └── ...
│   └── server/
│       └── routers/         # tRPC router definitions
├── package.json
└── ...

Requirements

  • Node.js 18+
  • pnpm (recommended) or npm
  • A React/TypeScript project (for adding modules)

Development

To contribute to this CLI:

  1. Clone the repository:
git clone https://github.com/flaviohsprado/codeweavers-cli.git
cd codeweavers-cli
  1. Install dependencies:
pnpm install
  1. Build the project:
pnpm build
  1. Run in development mode:
pnpm dev

Dependencies

The CLI uses the following key dependencies:

  • Commander.js - Command-line interface framework
  • Inquirer.js - Interactive command line prompts
  • Chalk - Terminal string styling
  • Ora - Terminal spinners
  • fs-extra - Enhanced file system utilities

Template Stack

The default template includes:

  • Frontend: React 18, TypeScript, Vite
  • Routing: TanStack Router
  • Styling: Tailwind CSS
  • UI Components: Custom component library
  • State Management: TanStack Query
  • API: tRPC for type-safe APIs
  • Database: Drizzle ORM
  • Authentication: Custom auth system
  • Development: Biome for linting/formatting

Module System

Each module contains:

  • Components: React components and UI elements
  • Routes: Page-level components with routing
  • Server Logic: tRPC routers and API endpoints
  • Dependencies: Required npm packages
  • Types: TypeScript definitions

Modules are self-contained and can be added independently, though some may have overlapping dependencies.

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/new-module
  3. Add your changes
  4. Commit your changes: git commit -am 'Add new module'
  5. Push to the branch: git push origin feature/new-module
  6. Submit a pull request

License

This project is licensed under the ISC License.

Support

If you encounter any issues or have questions:

  1. Check the existing issues
  2. Create a new issue if needed
  3. Provide details about your environment and the problem

Built with ❤️ for the CodeWeavers community.