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

workspace-cursorrules-symlink

v1.0.1

Published

A tool to symlink Cursor rules from multiple projects in a workspace to the root directory

Readme

Workspace Cursorrules Symlink

A simple tool to symlink Cursor rules from multiple projects in a workspace to the root directory.

Background

Cursor is an AI-powered code editor that enhances its AI capabilities through rule files located in the .cursor/rules directory. However, when multiple projects are placed in the same workspace, Cursor can only read rule files from the workspace root directory, not from individual projects.

This tool creates symbolic links from each project's rules to the workspace root, allowing Cursor to find and use all rules from all projects in the workspace.

Features

  • Automatically scans all projects in the workspace folder
  • Identifies .cursor/rules directories in each project
  • Creates organized symbolic links categorized by project name in the root directory
  • Auto-configures VSCode settings for multi-project workspaces
  • Provides detailed synchronization reports

Installation

Global Installation

npm install -g workspace-cursorrules-symlink

# Run in your workspace root directory:
workspace-cursorrules-symlink

Use Without Installation

npx workspace-cursorrules-symlink

Command Line Options

workspace-cursorrules-symlink - Symlink Cursor rules from multiple projects in a workspace

Usage:
  npx workspace-cursorrules-symlink [options]

Options:
  -h, --help      Show help information
  -v, --version   Show version information
  -a, --ascii     Use ASCII characters instead of emoji (Windows compatible)
  -f, --force     Force recreate existing symlinks

Examples:
  npx workspace-cursorrules-symlink
  npx workspace-cursorrules-symlink --ascii

What It Does

1. Cursor Rules Symlinks

The tool creates a structure like this in the workspace root:

.cursor/rules/
├── project-A/
│   └── rule1.mdc (symlink)
├── project-B/
│   ├── rule2.mdc (symlink)
│   └── subfolder/
│       └── rule3.mdc (symlink)
└── project-C/
    └── rule4.mdc (symlink)

2. VSCode ESLint Configuration

Automatically creates or updates .vscode/settings.json with:

{
  "eslint.workingDirectories": [{ "mode": "auto" }]
}

This resolves ESLint errors in multi-project workspaces by automatically detecting the correct working directories for each project.