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

vineguard

v1.1.6

Published

VineGuard - Complete AI-powered testing orchestration system for intelligent test execution, debugging, and analysis

Readme

VineGuard CLI - Command Line Testing Orchestration Tool 🖥️

npm version License: MIT Node.js Version

The complete command-line interface for AI-powered testing automation

VineGuard CLI v1.1.5 is your command-line testing orchestration system that handles the entire workflow from requirements analysis to automated fixes. Perfect for CI/CD pipelines, terminal workflows, and automated testing operations.

🎯 What is VineGuard CLI?

VineGuard CLI is the command-line interface for VineGuard's AI testing capabilities. It's designed for:

  • CI/CD Integration: Automated testing in build pipelines
  • Terminal Workflows: Command-line driven development
  • Batch Operations: Process multiple projects efficiently
  • Scripting: Integrate VineGuard into custom automation scripts

Looking for IDE integration? Check out VineGuard MCP for Claude Code, Cursor, and VS Code integration.

🚀 Quick Start

Installation

# Install globally for CLI usage
npm install -g vineguard

# Or install locally in your project
npm install vineguard

Basic Usage

# Start VineGuard with all features
vineguard start

# Run tests with AI analysis
vineguard test

# Analyze your project
vineguard analyze

# Create test plan
vineguard plan

# Generate comprehensive test suite
vineguard generate tests

# Fix bugs automatically
vineguard fix

# Check system health
vineguard health

📋 CLI Commands Reference

Core Commands

# Server Management
vineguard start              # Start full orchestration server
vineguard mcp-server        # Start MCP server for IDE integration
vineguard standalone        # Start standalone server (fallback)

# Testing Operations
vineguard test              # Run all tests with AI analysis
vineguard test src/         # Run tests for specific directory
vineguard test auth.spec.js # Run specific test file

# Project Analysis
vineguard analyze           # Analyze current project
vineguard analyze /path     # Analyze specific project

# Test Planning
vineguard plan              # Create comprehensive test plan from cached scan
vineguard plan /path        # Create test plan for specific project

# Generation
vineguard generate tests    # Generate comprehensive test suite
vineguard generate prd      # Generate PRD from existing code
vineguard generate docs     # Generate documentation

# Bug Detection & Fixing
vineguard fix               # Scan and fix all issues
vineguard fix src/auth.js   # Fix issues in specific file

# System Management
vineguard health            # Check system health
vineguard version           # Show version information
vineguard help              # Show help information

Advanced Usage

# Custom configurations
vineguard test --config custom.json
vineguard analyze --depth deep --include-deps
vineguard generate tests --framework jest,playwright

# CI/CD Integration
vineguard test --ci --coverage --report-format junit
vineguard fix --auto-commit --message "Auto-fix: VineGuard"

🎯 CLI Features

Complete Testing Workflow

  • 📋 Requirements Analysis - Reads PRDs and extracts test scenarios
  • 🔍 Code Understanding - Scans project structure and analyzes patterns with file-based caching
  • 📝 Test Planning - Creates comprehensive test plans from cached project scan
  • ⚡ Test Generation - Creates comprehensive test suites automatically (Jest, Playwright, Cypress)
  • 🚀 Test Execution - Runs tests with enhanced debugging context and result capture
  • 📊 Results Analysis - Provides actionable insights, pass/fail rates, and quality metrics
  • 🔧 Automated Fixes - Generates and applies fixes with regression tests

AI-Powered Intelligence

  • Natural Language Commands - Talk to VineGuard naturally via CLI
  • Risk-Based Testing - Prioritizes tests based on business impact
  • Multi-Framework Support - Jest, Playwright, Cypress, Vitest
  • Debug Context Collection - Captures browser logs, network requests, errors
  • Intelligent Analysis - Deep understanding of code patterns

CLI-Specific Features

  • Batch Processing - Handle multiple projects simultaneously
  • CI/CD Integration - Seamless integration with build pipelines
  • Scriptable Interface - Easy to integrate into custom automation
  • Config File Support - JSON, YAML, and JavaScript configuration files
  • Exit Codes - Proper exit codes for automation scripts
  • Progress Indicators - Real-time progress feedback for long operations

⚙️ Configuration

Configuration File

Create a vineguard.config.js in your project root:

export default {
  // Testing framework preferences
  frameworks: ['jest', 'playwright'],

  // AI analysis settings
  analysis: {
    depth: 'deep',
    includeDependencies: true,
    riskAssessment: true
  },

  // Generation preferences
  generation: {
    testStyle: 'comprehensive',
    includeEdgeCases: true,
    accessibilityTests: true
  },

  // CI/CD specific settings
  ci: {
    coverage: {
      threshold: 80,
      format: ['text', 'html', 'lcov']
    },
    reporting: {
      formats: ['junit', 'json'],
      outputDir: './reports'
    }
  }
};

Environment Variables

# Project settings
export VINEGUARD_PROJECT_ROOT="/path/to/project"
export VINEGUARD_CONFIG_FILE="custom-config.js"

# Mode settings
export VINEGUARD_MODE="orchestrator"
export VINEGUARD_DEFAULT="intelligent"

# CI/CD settings
export VINEGUARD_CI="true"
export VINEGUARD_AUTO_FIX="false"
export VINEGUARD_COVERAGE_THRESHOLD="80"

🔄 CI/CD Integration

GitHub Actions

name: VineGuard Testing
on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: '20'

      - name: Install VineGuard CLI
        run: npm install -g vineguard

      - name: Analyze Project
        run: vineguard analyze --ci

      - name: Run Tests
        run: vineguard test --ci --coverage

      - name: Auto-fix Issues
        run: vineguard fix --auto-commit
        if: github.event_name == 'push'

Jenkins Pipeline

pipeline {
    agent any
    stages {
        stage('Setup') {
            steps {
                sh 'npm install -g vineguard'
            }
        }
        stage('Analyze') {
            steps {
                sh 'vineguard analyze --ci'
            }
        }
        stage('Test') {
            steps {
                sh 'vineguard test --ci --coverage'
            }
        }
        stage('Fix') {
            when {
                branch 'main'
            }
            steps {
                sh 'vineguard fix --auto-commit'
            }
        }
    }
}

🛠️ Development

Building from Source

# Clone the repository
git clone https://github.com/idvd20/vineguard.git
cd vineguard/vineguard

# Install dependencies
npm install

# Build the package
npm run build

# Link for global usage
npm link

Running Tests

# Run all tests
npm test

# Run with coverage
npm run test:coverage

# Run in watch mode
npm run test:watch

🤔 CLI vs MCP: Which Should I Use?

Use VineGuard CLI when:

  • ✅ Building CI/CD pipelines that need automated testing
  • ✅ Working primarily in the terminal/command line
  • ✅ Need to batch process multiple projects
  • ✅ Creating automation scripts that integrate testing
  • ✅ Want programmatic control over testing workflows

Use VineGuard MCP when:

  • ✅ Working interactively in Claude Code, Cursor, or VS Code
  • ✅ Want natural language commands while coding
  • ✅ Need real-time AI assistance during development
  • ✅ Prefer IDE-integrated testing workflows

Use Both when:

  • ✅ Your team uses different workflows (some prefer CLI, others IDE)
  • ✅ You want CLI for automation + MCP for development
  • ✅ Building comprehensive testing strategies

📊 Exit Codes

VineGuard CLI uses standard exit codes for automation:

0   # Success
1   # General error
2   # Test failures detected
3   # Configuration error
4   # Project analysis failed
5   # Network/dependency error

🔗 Related Packages

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

📄 License

MIT License - see LICENSE file for details.

🔗 Links