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

@fchc8/cursor-rules

v1.0.5

Published

A command-line tool for generating and pulling Cursor editor rule files

Readme

Cursor Rule

版本 测试覆盖率

English Documentation

项目简介

Cursor Rule 是一个命令行工具,用于将 Cursor 规则文件拉取到本地的 .cursor/rules 目录中。它帮助用户高效地管理和更新 Cursor 规则,使自定义 Cursor 编辑器体验变得更加简单。

功能特点

  • 从 JavaScript、Rust 或通用模块中拉取特定规则文件
  • 列出并选择模块以拉取所有文件
  • 交互式选择规则文件
  • 命令行选项快速选择模块
  • 详细的成功和失败报告

安装方法

前提条件

  • Node.js (v16.0.0 或更高版本)
  • npm (v6.0.0 或更高版本)

通过 npm 安装

npm install -g @fchc8/cursor-rules

从源代码安装

git clone https://github.com/fchc7/cursor-rules.git
cd cursor-rules
npm install
npm link

使用方法

基本用法

pullrule [选项]

选项列表

  • -j, --js: 拉取 JavaScript 规则
  • -r, --rust: 拉取 Rust 规则
  • -c, --common: 拉取通用规则
  • -l, --list: 列出并选择要拉取所有文件的模块
  • -h, --help: 显示帮助信息
  • -V, --version: 显示版本信息

示例

  1. 交互式拉取特定规则文件:
    pullrule
  2. 交互式拉取 JavaScript 规则:
    pullrule --js
  3. 拉取所选模块的所有文件:
    pullrule --list
  4. 拉取所有 JavaScript 和通用规则:
    pullrule --js --common --list

许可证

本项目采用 MIT 许可证