涨星曲线
5 天快照00modern-web-guidance-src 是什么
给 AI 编程助手装上最新的网页开发规范,让它少写过时代码
让您的编码代理了解最新的网络最佳实践
01modern-web-guidance-src 为什么最近火
本周在 GitHub 热榜涨了 1866 星。由 Chrome、Edge、Firefox 和 MDN 团队一起维护,正好对上「AI 爱写老旧代码」这个常见痛点。
- GitHub 热榜·本周 · 本周涨星 1,866
适合谁用 AI 编程助手写前端、想让生成的代码更现代、兼容性更好的网页开发者
国内能用吗通过 npx 运行,需要 Node.js 22 以上,国内配好 npm 镜像就能用,内容是英文
能做成什么可以写成教程,讲怎么用 npx 一键安装,再用 legacy-scan 扫描老项目里的过时写法;也可以做个在线页面按需求搜索对应的规范指南
评估更新于 2026-11-29
03安装教程
terminal
$ npx modern-web-guidance@latest installterminal
# Search for relevant guides $ npx modern-web-guidance@latest search "animate a dialog modal backdrop" # Retrieve a guide by ID $ npx modern-web-guidance@latest retrieve "animate-to-from-top-layer" # Scan a codebase for legacy patterns to modernize $ npx modern-web-guidance@latest legacy-scan .
以上命令整理自项目 README,具体以项目说明为准。
04常见问题
modern-web-guidance-src 免费吗?可以商用吗?免费。项目使用 Apache-2.0 开源许可证,可以免费使用,也允许商用(需保留版权声明)。
modern-web-guidance-src 在国内能用吗?通过 npx 运行,需要 Node.js 22 以上,国内配好 npm 镜像就能用,内容是英文
GitHub 打不开怎么办?GitHub 在国内访问不稳定,可以多刷新几次,或稍后再试。本站会持续同步项目的中文介绍和安装说明。