{
  "markdown": "<picture>\n  <img alt=\"Rsdoctor Banner\" width=\"100%\" src=\"https://assets.rspack.rs/rsdoctor/rsdoctor-banner.png\" />\n</picture>\n\n# Rsdoctor\n\n<p>\n  <a href=\"https://discord.gg/wrBPBT6rkM\"><img src=\"https://img.shields.io/badge/chat-discord-blue?style=flat-square&logo=discord&colorA=564341&colorB=EDED91\" alt=\"discord channel\" /></a>\n  <a href=\"https://npmjs.com/package/@rsdoctor/core?activeTab=readme\"><img src=\"https://img.shields.io/npm/v/@rsdoctor/core?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"npm version\" /></a>\n  <a href=\"https://npmcharts.com/compare/@rsdoctor/core?minimal=true\"><img src=\"https://img.shields.io/npm/dm/@rsdoctor/core.svg?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"downloads\" /></a>\n  <a href=\"https://github.com/web-infra-dev/rsdoctor/blob/main/LICENSE\"><img src=\"https://img.shields.io/npm/l/@rsdoctor/core?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"license\" /></a>\n</p>\n\nEnglish | [简体中文](./README.zh-CN.md)\n\nRsdoctor is a build analyzer tailored for projects built with [Rspack](https://rspack.rs/).\n\nRsdoctor is committed to being a one-stop, intelligent build analyzer that makes the build process transparent, predictable, and optimizable through visualization and smart analysis, helping development teams precisely identify bottlenecks, optimize performance, and improve engineering quality.\n\nFor webpack projects, continue using Rsdoctor 1.x or migrate to Rspack. See the [migration guide](https://rsdoctor.rs/guide/start/migration-v2) for details.\n\n## 🔥 Features\n\n- **Compilation Visualization**: Rsdoctor visualizes the compilation behavior and time consumption, making it easy to view build issues.\n\n- **Multiple Analysis Capabilities**: Rsdoctor supports build artifact, build-time analysis, and anti-degradation capabilities:\n  - Build artifact support for resource lists and module dependencies, etc.\n  - Build-time analysis supports Loader, Plugin, and Resolver building process analysis\n  - Build rules support duplicate package detection and ES Version Check, etc.\n\n- **Support Custom Rules**: In addition to built-in build scan rules, Rsdoctor also supports users adding custom component scan rules based on the build data of Rsdoctor.\n\n## 📚 Getting started\n\nTo get started with Rsdoctor, see the [Quick Start](https://rsdoctor.rs/guide/start/quick-start).\n\n## 🤝 Contribution\n\n> New contributors welcome!\n\nPlease read the [Contributing Guide](https://github.com/web-infra-dev/rsdoctor/blob/main/CONTRIBUTING.md).\n\n## 🧑‍💻 Community\n\nCome and chat with us on [Discord](https://discord.gg/wrBPBT6rkM)! The Rstack team and users are active there, and we're always looking for contributions.\n\n## 🦀 Rstack\n\nRsdoctor is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.\n\n| Name                                                  | Description              | Version                                                                                                                                                                          |\n| ----------------------------------------------------- | ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [Rspack](https://github.com/web-infra-dev/rspack)     | Bundler                  | <a href=\"https://npmjs.com/package/@rspack/core\"><img src=\"https://img.shields.io/npm/v/@rspack/core?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"npm version\" /></a>     |\n| [Rsbuild](https://github.com/web-infra-dev/rsbuild)   | Build tool               | <a href=\"https://npmjs.com/package/@rsbuild/core\"><img src=\"https://img.shields.io/npm/v/@rsbuild/core?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"npm version\" /></a>   |\n| [Rslib](https://github.com/web-infra-dev/rslib)       | Library development tool | <a href=\"https://npmjs.com/package/@rslib/core\"><img src=\"https://img.shields.io/npm/v/@rslib/core?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"npm version\" /></a>       |\n| [Rspress](https://github.com/web-infra-dev/rspress)   | Static site generator    | <a href=\"https://npmjs.com/package/@rspress/core\"><img src=\"https://img.shields.io/npm/v/@rspress/core?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"npm version\" /></a>   |\n| [Rsdoctor](https://github.com/web-infra-dev/rsdoctor) | Build analyzer           | <a href=\"https://npmjs.com/package/@rsdoctor/core\"><img src=\"https://img.shields.io/npm/v/@rsdoctor/core?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"npm version\" /></a> |\n| [Rstest](https://github.com/web-infra-dev/rstest)     | Testing framework        | <a href=\"https://npmjs.com/package/@rstest/core\"><img src=\"https://img.shields.io/npm/v/@rstest/core?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"npm version\" /></a>     |\n| [Rslint](https://github.com/web-infra-dev/rslint)     | Linter                   | <a href=\"https://npmjs.com/package/@rslint/core\"><img src=\"https://img.shields.io/npm/v/@rslint/core?style=flat-square&colorA=564341&colorB=EDED91\" alt=\"npm version\" /></a>     |\n\n## 🙌 Code of conduct\n\nThis repo has adopted the ByteDance Open Source Code of Conduct. Please check [Code of Conduct](./CODE_OF_CONDUCT.md) for more details.\n\n## 🙏 Credits\n\nSome of the implementation of Rsdoctor refers to the excellent projects in the community, and we would like to thank them:\n\n- [bundle-stats](https://github.com/relative-ci/bundle-stats/tree/master/packages/cli#readme) is an excellent tool for analyzing build artifacts, and Rsdoctor is inspired by it in terms of build analysis.\n- [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) is a classic tool for analyzing Webpack, and Rsdoctor is inspired by it in terms of build artifact analysis. Rsdoctor also uses its classic treemap visualization.\n- [Statoscope](https://github.com/statoscope/statoscope/blob/master/README.md) is an excellent tool for analyzing build artifacts, and Rsdoctor is inspired by it in terms of build analysis.\n- [Webpack Team and Community](https://github.com/webpack/webpack/blob/main/README.md) have created an excellent bundling tool and a rich ecosystem.\n- [vite-plugin-inspect](https://github.com/antfu/vite-plugin-inspect) has inspired Rsdoctor's exploration of build process analysis.\n\nThis Rsdoctor website is powered by [Netlify](https://www.netlify.com/).\n\n## 📖 License\n\nRsdoctor is licensed under the [MIT License](https://github.com/web-infra-dev/rsdoctor/blob/main/LICENSE).\n",
  "bytes": 6574,
  "sha": "ae7183e738856abe413cc2904599b7473e5a75c725c762c01a01c754cf0af66a",
  "repo_slug": "web-infra-dev/rsdoctor",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_yifancong_rsdoctor_c450e66d/readme"
}