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

ai-editor-setup

v1.0.2

Published

Automatically creates a folder structure when installed

Readme

AI Editor Setup

Automatically configure your favorite AI-powered code editors with a single command

npm version License: MIT Node.js Version


📖 Introduction

AI Editor Setup is an npm package that streamlines your development workflow by automatically configuring your preferred AI-powered code editor. Instead of manually setting up configuration files for Cursor, Claude, VS Code, IntelliJ IDEA, or Windsurf, this package does it all for you with a simple installation command.

Whether you're starting a new project or want to standardize your development environment across multiple projects, ai-editor-setup eliminates the tedious manual configuration process and ensures consistency across your team.

Why Use AI Editor Setup?

  • Zero Configuration: Get up and running in seconds
  • 🎯 Editor-Specific: Choose only the editors you use
  • 🔒 Safe: Never overwrites existing files
  • 🚀 Automated: Runs automatically after installation
  • 📦 Comprehensive: Includes best practices and templates

✨ Features

  • Multi-Editor Support: Configure Cursor, Claude, VS Code, IntelliJ IDEA, and Windsurf
  • Interactive Selection: Choose which editor configurations to install during setup
  • Smart File Management: Automatically creates necessary folders and configuration files
  • GitHub Integration: Includes GitHub templates for issues and CI/CD workflows
  • Best Practices: Pre-configured with industry-standard settings and rules
  • Non-Destructive: Preserves existing files - never overwrites your custom configurations
  • Extensible: Easy to customize templates for your specific needs

What Gets Created?

Depending on your editor selection, the package creates:

  • Cursor: .cursor/ configuration, rules, and .cursorignore
  • Claude: .ai/ configuration and prompt templates
  • VS Code: .vscode/ settings and recommended extensions
  • IntelliJ IDEA: .idea/ project configuration
  • Windsurf: .windsurf/ configuration files
  • Common: .github/ templates and .gitignore

🚀 How to Use

Quick Start

  1. Install the package in your project:
npm install ai-editor-setup
  1. Select your editors when prompted:
📦 ai-editor-setup: Select which editor configuration(s) you want to install:

1. Cursor
2. Claude
3. VS Code
4. IntelliJ IDEA
5. Windsurf
6. All editors

Enter numbers separated by commas (e.g., 1,3,5) or press Enter for all:
> 1,3
  1. Done! Your configuration files are automatically created in your project root.

Installation Options

Install specific editors:

# Select editors interactively
npm install ai-editor-setup
# Then choose: 1,3 (for Cursor and VS Code)

Install all editors:

npm install ai-editor-setup
# Press Enter when prompted to select all

Update existing installation:

npm update ai-editor-setup

📋 Setup Guide

Prerequisites

  • Node.js: v14.0.0 or higher
  • npm: v6.0.0 or higher (or yarn/pnpm)
  • Existing Project: A project with package.json

Step-by-Step Installation

1. Navigate to Your Project

cd your-project-directory

2. Install the Package

npm install ai-editor-setup

3. Interactive Editor Selection

When the installation runs, you'll see a prompt:

📦 ai-editor-setup: Select which editor configuration(s) you want to install:

1. Cursor
2. Claude
3. VS Code
4. IntelliJ IDEA
5. Windsurf
6. All editors

Enter numbers separated by commas (e.g., 1,3,5) or press Enter for all:

Examples:

  • Type 1 and press Enter → Install only Cursor
  • Type 1,3,5 and press Enter → Install Cursor, VS Code, and Windsurf
  • Press Enter without typing → Install all editors

4. Verify Installation

After installation, you should see:

✓ Created X file(s)/folder(s):
  - .cursor/cursor.json
  - .cursor/rules/core.mdc
  - .vscode/settings.json
  ...

✅ Setup completed successfully!

Updating Configuration Files

The package never overwrites existing files. To update your configuration:

  1. Backup existing files (optional):
mv .cursor .cursor.backup
mv .vscode .vscode.backup
  1. Update the package:
npm update ai-editor-setup
  1. Compare and merge changes as needed

Customization

All configuration files are created in your project root. You can customize them directly:

  • Edit .cursor/cursor.json for Cursor settings
  • Modify .vscode/settings.json for VS Code preferences
  • Update .ai/config.json for Claude configuration
  • Adjust .github/workflows/ci.yml for CI/CD

🤝 Contributing

We welcome contributions from the community! Whether you want to report a bug, suggest a feature, or submit code changes, your help is appreciated.

How to Contribute

1. Report Issues

Found a bug or have a feature request?

2. Submit Pull Requests

  1. Fork the repository

    git clone https://github.com/your-username/npm-ai-editor-setup.git
    cd npm-ai-editor-setup
  2. Create a feature branch

    git checkout -b feature/your-feature-name
  3. Make your changes

    • Follow the existing code style
    • Add comments for complex logic
    • Update documentation if needed
  4. Test your changes

    npm install
    npm link
    # Test in another project: npm link ai-editor-setup
  5. Commit your changes

    git add .
    git commit -m "Add: description of your changes"
  6. Push and create a Pull Request

    git push origin feature/your-feature-name

    Then open a Pull Request on GitHub.

Areas for Contribution

  • 🎨 Improve Templates: Enhance default configuration templates
  • 📚 Documentation: Fix typos, add examples, improve clarity
  • 🐛 Bug Fixes: Fix issues and improve reliability
  • New Features: Add support for new editors or features
  • 🧪 Testing: Add tests to improve code quality

Development Setup

# Clone the repository
git clone https://github.com/Sumonta056/npm-ai-editor-setup.git
cd npm-ai-editor-setup

# Install dependencies
npm install

# Link for local testing
npm link

# In another project, test your changes
cd ../test-project
npm link ai-editor-setup

Code of Conduct

Please be respectful and constructive in all interactions. We're all here to make this project better.


📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


🙏 Acknowledgments

  • Thanks to all contributors who help improve this project
  • Inspired by the need for consistent development environments
  • Built with ❤️ for the developer community

📞 Support


Made with ❤️ by Sumonta Saha

⭐ Star this repo if you find it helpful!