{"_id":"@accord_33/react-dep-analyzer","_rev":"3-6f14b89824dfbf7a31957a93fdf0b353","name":"@accord_33/react-dep-analyzer","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@accord_33/react-dep-analyzer","version":"1.0.0","keywords":["react","nextjs","dependency","graph","mermaid"],"author":{"name":"Kazuto Sakabe"},"license":"MIT","_id":"@accord_33/react-dep-analyzer@1.0.0","maintainers":[{"name":"accord_33","email":"skb.ceg.biblia@gmail.com"}],"homepage":"https://github.com/Accord33/react-dep-analyzer#readme","bugs":{"url":"https://github.com/Accord33/react-dep-analyzer/issues"},"bin":{"analyze":"analyze.js"},"dist":{"shasum":"4aa9c5bf75591bdf59a438b1954e17433ae2b791","tarball":"https://registry.npmjs.org/@accord_33/react-dep-analyzer/-/react-dep-analyzer-1.0.0.tgz","fileCount":4,"integrity":"sha512-Dy37OV8lcGZlQoiQGw1lPwy+00IFmbX9KHN8CiWIRoNZeiUTcKRp1Q0NpS1raZLOKpU/Dvzt0C6en+XEX6ex4g==","signatures":[{"sig":"MEUCIFy+He+UxYlHufetq4sRtFQOXinuCjSdR85yAVHuzITgAiEA5aHGjCEmNUD5qiUQAsPJ9IvsLRx50Lh+w+ZllANRu5A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10556},"main":"analyze.js","type":"module","engines":{"node":">=14.0.0"},"gitHead":"6d1941040b5059af30575938ef996c74843dd856","scripts":{"postinstall":"node setup.js"},"_npmUser":{"name":"accord_33","email":"skb.ceg.biblia@gmail.com"},"repository":{"url":"git+https://github.com/Accord33/react-dep-analyzer.git","type":"git"},"_npmVersion":"11.6.2","description":"Project local dependency analyzer using Mermaid","directories":{},"_nodeVersion":"25.2.1","dependencies":{"commander":"^11.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/react-dep-analyzer_1.0.0_1763571520674_0.9469799290349628","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@accord_33/react-dep-analyzer","version":"1.0.1","keywords":["react","nextjs","dependency","graph","mermaid"],"author":{"name":"Kazuto Sakabe"},"license":"MIT","_id":"@accord_33/react-dep-analyzer@1.0.1","maintainers":[{"name":"accord_33","email":"skb.ceg.biblia@gmail.com"}],"homepage":"https://github.com/Accord33/react-dep-analyzer#readme","bugs":{"url":"https://github.com/Accord33/react-dep-analyzer/issues"},"bin":{"analyze":"analyze.js"},"dist":{"shasum":"bca9148ba73e4c98915a35732d2f5e0b9c7c78d4","tarball":"https://registry.npmjs.org/@accord_33/react-dep-analyzer/-/react-dep-analyzer-1.0.1.tgz","fileCount":5,"integrity":"sha512-QazDw70peB8hKNbnr3pnaYqUB3Gh4Pb8wf+71yCPxLvDw+UWv8h2Z+upKKgJ7XmWP0i4rBtzqfv1OYIlJgKQ8Q==","signatures":[{"sig":"MEUCIDImLvEGX3kXbQaeQABK/U6RQV/VyPybsVN9O5pt5X8aAiEAwbhTzHj6CdMkrtF7uDH/Phex7N2gwX0FwoSXuiCmzzM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13696},"main":"analyze.js","type":"module","engines":{"node":">=14.0.0"},"gitHead":"3027923b0bebdfdb1b0f7889cf43e7befa205f05","scripts":{"postinstall":"node setup.js"},"_npmUser":{"name":"accord_33","email":"skb.ceg.biblia@gmail.com"},"repository":{"url":"git+https://github.com/Accord33/react-dep-analyzer.git","type":"git"},"_npmVersion":"11.6.2","description":"Project local dependency analyzer using Mermaid","directories":{},"_nodeVersion":"25.2.1","dependencies":{"commander":"^11.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/react-dep-analyzer_1.0.1_1763572385820_0.24808443444534034","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@accord_33/react-dep-analyzer","version":"1.0.2","description":"Project local dependency analyzer using Mermaid","type":"module","main":"analyze.js","bin":{"analyze":"analyze.js"},"scripts":{"postinstall":"node setup.js"},"keywords":["react","nextjs","dependency","graph","mermaid"],"author":{"name":"Kazuto Sakabe"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Accord33/react-dep-analyzer.git"},"dependencies":{"commander":"^11.0.0"},"engines":{"node":">=14.0.0"},"gitHead":"09ca8078190bdff96e0adc206ab819ab8ac327bc","_id":"@accord_33/react-dep-analyzer@1.0.2","bugs":{"url":"https://github.com/Accord33/react-dep-analyzer/issues"},"homepage":"https://github.com/Accord33/react-dep-analyzer#readme","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-QZtn8i0bGcEgqoroWegL0Wt6pNRZ//emSXSdSOmG6ELwUKriY+cmzazPP0QAa4906grOGiVi1lHAFfizCUZ11Q==","shasum":"674d0c219f9c6646ca0a979f487618dccfff3efa","tarball":"https://registry.npmjs.org/@accord_33/react-dep-analyzer/-/react-dep-analyzer-1.0.2.tgz","fileCount":5,"unpackedSize":13696,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGdryFW+5uDABhtUdT8ocseuY9VdWxGQiGOY8h+X7CNIAiEAr6CEykQM99iu0tYacEKgV3TNW4BL8HvH18IfGIZP4EA="}]},"_npmUser":{"name":"accord_33","email":"skb.ceg.biblia@gmail.com"},"directories":{},"maintainers":[{"name":"accord_33","email":"skb.ceg.biblia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-dep-analyzer_1.0.2_1763574129976_0.9167739411203601"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-19T16:58:40.588Z","modified":"2025-11-19T17:42:10.689Z","1.0.0":"2025-11-19T16:58:40.865Z","1.0.1":"2025-11-19T17:13:06.008Z","1.0.2":"2025-11-19T17:42:10.166Z"},"bugs":{"url":"https://github.com/Accord33/react-dep-analyzer/issues"},"author":{"name":"Kazuto Sakabe"},"license":"MIT","homepage":"https://github.com/Accord33/react-dep-analyzer#readme","keywords":["react","nextjs","dependency","graph","mermaid"],"repository":{"type":"git","url":"git+https://github.com/Accord33/react-dep-analyzer.git"},"description":"Project local dependency analyzer using Mermaid","maintainers":[{"name":"accord_33","email":"skb.ceg.biblia@gmail.com"}],"readme":"# React Dependency Analyzer\n\n[![npm version](https://badge.fury.io/js/%40[YOUR_USERNAME]%2Freact-dep-analyzer.svg)](https://badge.fury.io/js/%40[YOUR_USERNAME]%2Freact-dep-analyzer)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n> **Visualize your React & Next.js component architecture instantly.**\n\nA CLI tool that recursively analyzes your React/Next.js project and generates a dependency graph using **Mermaid.js**. It helps developers understand complex component structures, refactor legacy code, and document architecture automatically.\n\n![Demo Screenshot](https://via.placeholder.com/800x400?text=Paste+Your+Mermaid+Graph+Screenshot+Here)\n\n## ✨ Features\n\n* **Recursive Analysis**: Deeply scans `src/app` or `src` directories to find all dependencies.\n* **Mermaid Output**: Generates a `.md` file and a direct link to the [Mermaid Live Editor](https://mermaid.live/).\n* **Smart Path Resolution**: Automatically handles TypeScript aliases (`@/`), local imports, and index files.\n* **Zero Config Setup**: Installs with a default configuration but is fully customizable.\n* **Automated Integration**: Automatically adds an `analyze` script to your `package.json` upon installation.\n\n## 🚀 Installation\n\nInstall it as a development dependency:\n\n```bash\nnpm install --save-dev @accord_33/react-dep-analyzer\n````\n\n**That's it\\!** The post-install script will automatically:\n\n1.  Create a default configuration file (`analyzer.config.json`).\n2.  Add the `\"analyze\": \"analyze .\"` script to your `package.json`.\n\n## 📖 Usage\n\n### Basic Usage\n\nSince the script is automatically added, simply run:\n\n```bash\nnpm run analyze\n```\n\n### CLI Usage\n\nYou can also run it directly via `npx` or strictly specify a directory:\n\n```bash\n# Analyze current directory\nnpx @accord_33/react-dep-analyzer .\n\n# Analyze a specific directory\nnpx @accord33/react-dep-analyzer ./src/components\n```\n\n### Output\n\nAfter running the command, you will see:\n\n1.  **`dependencies.md`**: A Markdown file containing the Mermaid graph syntax.\n2.  **Console Output**: A generated URL for the **Mermaid Live Editor**. Click it to view and edit your graph in the browser immediately.\n\n## ⚙️ Configuration\n\nA `analyzer.config.json` file is created in your project root upon installation. You can customize the target extensions:\n\n```json\n{\n  \"extensions\": [\".tsx\", \".ts\", \".jsx\", \".js\"]\n}\n```\n\n## 🤝 Contributing & Support\n\n**This project is currently developed personally.**\n\nI created this tool to solve the complexity of visualizing large-scale Next.js applications. While **I am not accepting Pull Requests** (code contributions) at this time to maintain the architectural vision, I highly value your feedback\\!\n\n  * **Found a bug?** Please open an [Issue](https://github.com/Accord33/react-dep-analyzer/issues).\n  * **Have a feature request?** Feel free to suggest it in the Issues tab.\n\n## 👤 Author\n\n**Accord33**\n\n  * Future University Hakodate\n  * Focus: Kubernetes, Cloud Native, AI Agents\n\n## 📄 License\n\nThis project is licensed under the [MIT License](https://www.google.com/search?q=LICENSE).","readmeFilename":"README.md"}