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

@mdsfe/mds-cli

v0.0.23

Published

The MDS CLI is a command-line interface tool that helps you to initialize, develop, and maintain your applications

Readme

@mdsfe/mds-cli

MDS 命令行工具,旨在高效完成项目初始化、规范配置及环境维护。

🚀 快速开始

安装/更新

# 安装
npm install -g @mdsfe/mds-cli

# 快捷更新
mds up

常用命令

  • 项目初始化: mds init <project-name>
    根据 MDS 标准模板快速创建应用。
  • SDD 初始化: mds sdd
    一键配置“规范驱动开发”环境(生成 .agent.specify、项目宪法等)。
  • 版本更新: mds upgrade (别名: up)
    检测并升级 CLI 到最新版本。
  • 环境诊断: mds doctor
    检查当前网络、Registry 认证及 NodeJS 环境。

🛠 开发流程 (SDD)

  1. 初始化: 在项目根目录下运行 mds sdd
  2. 编写规范: 遵循提示在 .specify 中定义需求。
  3. AI 辅助: 利用生成的工作流(如 /speckit.plan)进行自动化开发。

📦 发布指南 (核心维护者)

# 修订号更新 (0.0.x)
npm run release:patch

# 特性更新 (0.x.0)
npm run release:minor

注意: 发布前请确保已配置 .npmrc 且具有 @mdsfe作用域权限。

❓ 常见问题排查 (Troubleshooting)

如果您在安装或升级时遇到问题,请先运行 mds doctor 进行快速诊断。

1. 权限不足 (EACCES)

如果在执行 mds upgradenpm install -g 时报 EACCES 错误:

  • 方案 A: 使用 sudo 执行:sudo npm install -g @mdsfe/mds-cli
  • 方案 B: 修复 npm 全局目录权限(推荐),参考 npm 官方文档

2. 文件冲突 (EEXIST)

如果报错 EEXIST: file already exists, symlink...

  • 方案: 执行强制覆盖安装:npm install -g @mdsfe/mds-cli --force

3. 命令不存在 (Command Not Found)

如果安装后提示 mds: command not found

  • 请检查您的环境变量 PATH 是否包含了 npm 的全局 bin 目录。您可以运行 npm config get prefix 来查看安装位置。