LabInsight is a powerful static code analysis tool that provides deep insights into your codebase.
Whether you're working with JavaScript, TypeScript, or Python, LabInsight helps you identify potential code issues, enforce best practices, and maintain a high level of code quality.
Improve your development workflow with customizable rules, in-depth analysis, and real-time reports — all from the comfort of your terminal.
- Project Exploration: Automatically analyzes your project's structure without needing to configure paths manually.
- Multi-language Support: Supports JavaScript, TypeScript, and Python, with more languages planned.
- Flexible Reporting: Generate terminal, JSON, or HTML reports to track and share code quality.
- Real-time Feedback: Catch errors as you code, improving productivity and preventing future issues.
LabInsight offers both basic and deep code analysis:
- Basic Analysis: Quickly identifies common errors and ensures best practices.
- Deep Analysis: Examines code complexity, cognitive complexity, and other advanced metrics to optimize your code.
- Custom Rules: Tailor LabInsight to your project by creating custom rules to enforce your specific standards.
See the roadmap for more features
More language support is planned in future releases.
LabInsight is constantly evolving! Here are some of the exciting features we’re working on:
- Support for more languages (Go, Ruby, etc.)
- Performance Analysis to identify bottlenecks.
- CI/CD Pipeline Integration for automated code checks.
To install Labinsight globally, use npm:
npm install -g @techfever/labinsight
labinsight init
To initialize a new .labinsight file in your current working directory. It automatically detects your project's configuration.
labinsight analyze
To analyze your codebase in a single command. You will be prompted for which type of analysis you want to perform.
Available arguments are --keep
, --type
, --silent
, --verbose
, --only
, --format
. (See docs)
We welcome contributions to Labinsight ! To contribute:
- Fork the repository.
- Create a new branch (git checkout -b feature/awesome-feature).
- Make your changes.
- Commit your changes (git commit -am 'Add awesome feature').
- Push to the branch (git push origin feature/awesome-feature).
- Open a pull request. Please ensure your pull request adheres to the code of conduct.
This project is licensed under the MIT License - see the LICENSE file for details.