0.1.8 β€’ Published 4 months ago

@techfever/labinsight v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

npm.io

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.

npm.io npm.io npm.io

See the documentation

Review the tool

See the changelog

πŸš€ Get Started with LabInsight

Improve your development workflow with customizable rules, in-depth analysis, and real-time reports β€” all from the comfort of your terminal.

πŸ” Key Features

  • 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.

Code Analysis and Customization

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

πŸ“Š Supported Languages

TypeScript JavaScript Python

More language support is planned in future releases.

πŸ”§ Features in Development

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.

Installation

To install Labinsight globally, use npm:

npm install -g @techfever/labinsight

Usage

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)

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.