UNPKG

intellify

Version:

Detect JavaScript & TypeScript errors and make codes more optimized.

83 lines (57 loc) • 2.65 kB
# 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