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

@kyfe/fms-cli

v1.0.5

Published

FMS CLI 工具集 - 包含 OpenSpec、AI-Kits 同步等功能

Readme

@kyfe/fms-cli

FMS 命令行工具集

安装

npm install @kyfe/fms-cli -D

使用方式

方式一:使用 npx(推荐,无需安装)

npx @kyfe/fms-cli openspec openspec
npx @kyfe/fms-cli ai-kits .codebuddy
npx @kyfe/fms-cli ai-kits-h5 .codebuddy

方式二:安装后在项目中使用

npm install @kyfe/fms-cli -D

然后直接调用:

# 同步 OpenSpec 到 openspec 目录
fms-cli openspec openspec

# 同步 AI-Kits 到 .codebuddy 目录
fms-cli ai-kits .codebuddy

# 同步 AI-Kits-H5 到 .codebuddy 目录
fms-cli ai-kits-h5 .codebuddy

方式三:在 package.json 中配置 scripts

{
  "scripts": {
    "sync-openspec": "fms-cli openspec openspec",
    "sync-aikits": "fms-cli ai-kits .codebuddy",
    "sync-aikits-h5": "fms-cli ai-kits-h5 .codebuddy"
  }
}

命令说明

openspec

从 fms-openspec 仓库同步 schemas 和 config.yaml 到本地目标目录。

fms-cli openspec <目标目录>

示例:

# 同步到 openspec 目录
fms-cli openspec openspec

# 同步到当前目录
fms-cli openspec .

ai-kits

从 fms-frontend-toolkits、ai-kits 仓库同步 ai-kits 目录到本地目标目录。

fms-cli ai-kits <目标目录> [--repos=<仓库名>]

选项:

  • --repos=<仓库名> - 指定要同步的仓库(逗号分隔),默认全部
    • 可用仓库: fms-frontend-toolkits, ai-kits

示例:

# 同步所有仓库(默认)
fms-cli ai-kits .codebuddy

# 只同步 fms-frontend-toolkits
fms-cli ai-kits .codebuddy --repos=fms-frontend-toolkits

# 只同步 ai-kits
fms-cli ai-kits .codebuddy --repos=ai-kits

# 同步指定的多个仓库
fms-cli ai-kits .codebuddy --repos=fms-frontend-toolkits,ai-kits

# 使用简写
fms-cli aikits .codebuddy

扩展新仓库:src/commands/ai-kits.tsAIKITS_REPOS 数组中添加即可。

ai-kits-h5

从 fms-frontend-toolkits 仓库同步 ai-kits-h5 目录到本地目标目录。

fms-cli ai-kits-h5 <目标目录>

示例:

# 同步到 .codebuddy 目录
fms-cli ai-kits-h5 .codebuddy

# 使用简写
fms-cli aikits-h5 .codebuddy

本地开发

# 链接到全局(本地调试用)
cd packages/fms-cli
npm link

# 使用
fms-cli openspec openspec
fms-cli ai-kits .codebuddy
fms-cli ai-kits-h5 .codebuddy