# Intellify

🧠 A modern code intelligence tool for optimizing JavaScript and TypeScript projects.

## Features

- **Syntax Error Detection**: Find syntax errors in your JavaScript/TypeScript code
- **Unused Package Detection**: Identify packages installed but not imported in your code
- **Unused Variable Detection**: Find variables, functions, and classes that are declared but not used
- **Comment Analysis**: Locate and count all comments in your codebase
- **Interactive Fixes**: Choose to automatically fix certain issues, like removing comments
- **Visual Statistics**: Get beautiful visual reports of your codebase metrics
- **Zero Configuration**: Works out of the box with no configuration required

## Installation

```bash
# Install globally
npm install -g intellify

# Or use directly with npx
npx intellify
```

## Usage

Simply navigate to your JavaScript/TypeScript project directory and run:

```bash
intellify
```

This will analyze your codebase and provide a detailed report with optimization suggestions.

### Example Output

```
╔═══════════════════════════════════╗
║           🧠 INTELLIFY            ║
║   Modern Code Intelligence Tool   ║
╚═══════════════════════════════════╝

📂 Project: my-project (C:\path\to\my-project)

✨ Analysis Complete ✨

╭────── Codebase Stats ───────╮
│   📁 Files: 42              │
│   📋 Lines: 3,128           │
│   💾 Size: 128.45 KB        │
│                             │
│   🖼 File Types:            │
│     js    30 files (71%)    │
│     jsx   12 files (29%)    │
╰─────────────────────────────╯

🔎 Issues Found
███████████████████████████████████
Syntax Errors: 0 Unused Packages: 3 Unused Variables: 12 Comments: 87
```

## Why Intellify?

- **Boosts Performance**: Removing unused code and optimizing imports improves runtime performance
- **Reduces Bundle Size**: Clean code means smaller bundles for your users
- **Improves Maintainability**: Less clutter makes your codebase easier to understand and maintain
- **Modern UI**: Beautiful, intuitive terminal interface
- **Fast Analysis**: Quick scanning even for large codebases

## License

MIT

The tool will scan your project and provide a detailed analysis with the option to fix detected issues.

## Requirements

- Node.js >= 16.0.0

## License

MIT
