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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@blockchain-web-services/bws-ai-coding-template

v1.3.10

Published

Git worktree management and parallel testing toolkit for Node.js projects

Readme

BWS AI Coding Template

Git worktree management and parallel testing toolkit for Node.js projects

npm version License: MIT

Features

  • 🌳 Git Worktree Management - Work on multiple features simultaneously with isolated environments
  • 🧪 Parallel Testing - Run tests in multiple worktrees without port conflicts (LocalStack + Playwright)
  • ☁️ AWS Infrastructure - Optional CloudFormation templates for DynamoDB, Lambda, S3, Step Functions
  • 🚀 CI/CD Pipeline - Optional CodePipeline setup with GitHub integration
  • 🔒 Claude Code IAM - Read-only debugging access for AI assistant
  • 📦 Non-Destructive - Won't overwrite existing files

Quick Start

# Install and run in your project directory
npx @blockchain-web-services/bws-ai-coding-template

# Or install globally
npm install -g @blockchain-web-services/bws-ai-coding-template
worktree-init

What Gets Installed

Always Installed:

  • ✅ Worktree management scripts (scripts/worktree/)
  • ✅ Documentation (docs/)
  • .gitignore patterns for worktrees
  • ✅ NPM scripts for worktree commands

Optional (if you choose AWS deployment):

  • ✅ Test infrastructure with LocalStack (test/)
  • ✅ CloudFormation templates (.deploy/)
  • ✅ CI/CD pipeline (devops.yml)

Interactive Setup

The installer will ask you:

  1. Project name - Auto-detected from package.json
  2. GitHub username - For repository configuration
  3. AWS deployments - Whether to include AWS infrastructure and testing

Safety Features

  • Won't overwrite existing .deploy/ folder
  • Won't overwrite existing test/ or tests/ folder
  • ⚠️ Warns before overwriting scripts/worktree/
  • Dry run mode available (--dry-run)

Usage After Installation

Create a Worktree

npm run worktree:create feature-name

Each worktree gets:

  • Unique LocalStack port (4567-4596)
  • Unique Playwright port (8080-8109)
  • Isolated Docker containers
  • Separate DynamoDB tables

Manage Worktrees

npm run worktree:list          # List all worktrees
npm run worktree:merge <name>  # Merge to current branch
npm run worktree:remove <name> # Remove a worktree

Run Tests (if AWS enabled)

cd test
npm install
npm run docker:up    # Start LocalStack
npm run setup        # Create AWS resources
npm test             # Run all tests

Parallel Testing

Multiple worktrees can run tests simultaneously:

Main branch:    LocalStack on port 4567
feature-a:      LocalStack on port 4579
feature-b:      LocalStack on port 4580
fix-bug:        LocalStack on port 4581

Each environment is completely isolated with unique:

  • Ports
  • Docker containers
  • DynamoDB tables
  • S3 buckets

Documentation

After installation, see docs/ folder for:

  • WORKTREES.md - Complete worktree workflow
  • GIT_WORKFLOW.md - Rebase, commit, merge best practices
  • PARALLEL_TESTING.md - LocalStack, Docker, port isolation
  • AWS_INFRASTRUCTURE.md - CloudFormation templates explained
  • CICD_PIPELINE.md - CodePipeline and CodeBuild setup
  • TROUBLESHOOTING.md - Common issues and solutions
  • CLAUDE_INSTRUCTIONS.md - AI assistant integration

Requirements

  • Node.js: 18.x or later
  • Git: 2.5+ (for worktree support)
  • Docker: For LocalStack (if using AWS features)

CLI Options

# Dry run (see what would be installed)
npx @blockchain-web-services/bws-ai-coding-template --dry-run

# Skip AWS infrastructure
npx @blockchain-web-services/bws-ai-coding-template --skip-aws

# Skip test folder
npx @blockchain-web-services/bws-ai-coding-template --skip-test

Development Status

⚠️ Currently in development - Core functionality is complete but CLI implementation is pending.

See IMPLEMENTATION_PLAN.md for details on remaining work.

Contributing

Contributions welcome! Please see the contribution guidelines.

License

MIT © Blockchain Web Services

Support