project-analyzers
v1.0.1
Published
project-analyzers is a CLI tool designed to analyze and document your JavaScript/TypeScript project. It generates a comprehensive PDF report containing details such as libraries, CSS information, project stability, bug reports, and component/module summar
Readme
project-analyzers
project-analyzers is a CLI tool designed to analyze and document your JavaScript/TypeScript project. It generates a comprehensive PDF report containing details such as libraries, CSS information, project stability, bug reports, and component/module summaries.
Features
- Analyze your project's dependencies and their links.
- Extract CSS-related information.
- Assess project stability.
- Detect bugs and provide detailed reports.
- Summarize components and modules with detailed insights.
Installation
Install Globally
To use project-analyzers globally on your system:
npm install -g project-analyzersUsage
Run the CLI
After installation, you can use project-analyzers in any project directory:
project-analyzersSteps:
- Install project-analyzers: Make sure it's installed globally as shown above.
- Navigate to Your Project Root: Go to the root directory of your project.
- Run the Command:
project-analyzers - View the Generated Report: The tool will generate a
project-report.pdfin the current directory containing all analyzed details.
Examples
Basic Example
cd my-project
project-analyzersOutput:
- A
project-report.pdffile will be created in the root ofmy-project.
Sample Output
The generated PDF includes:
- Dependencies: Library names with links to their official documentation.
- CSS Details: Information about used stylesheets and global styles.
- Stability Score: An overview of the project’s stability.
- Bug Report: A detailed list of potential bugs.
- Component Summary: Insights into components and modules.
Requirements
- Node.js v14.0.0 or later
How It Works
- Analyze Project: project-analyzers scans the project’s files and extracts necessary information.
- Generate PDF: All extracted data is compiled into a structured and readable PDF report.
Development
Clone the Repository
If you want to contribute or test locally:
git clone https://github.com/kaushikdevs/project-analyzer.git
cd project-analyzersInstall Dependencies
npm installBuild the Project
npm run buildLink the CLI Locally
To test your CLI tool locally:
npm linkYou can now use project-analyzers globally on your system.
Run the CLI
project-analyzersContributing
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature-name - Commit your changes:
git commit -m "Add feature-name" - Push to your forked repository:
git push origin feature-name - Submit a pull request.
Support
If you encounter any issues or have questions, feel free to open an issue in the repository or contact me at [[email protected]].
Acknowledgments
- Inspired by project documentation tools and the need for automated project analysis.
- Thanks to all contributors who helped improve this tool.
Feedback
We’d love to hear your thoughts! If you have suggestions or improvements, please open an issue or submit a pull request.
